Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110533 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 61933 invoked from network); 15 Jun 2020 19:33:34 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Jun 2020 19:33:34 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A66FC18054B for ; Mon, 15 Jun 2020 11:18:47 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 15 Jun 2020 11:18:47 -0700 (PDT) Received: by mail-qt1-f195.google.com with SMTP id i16so13381871qtr.7 for ; Mon, 15 Jun 2020 11:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=39jlHxNTPtdcP7AGAdXDJWgLyNtUGg4kX13QLfzBdJY=; b=QhFKe1eg81S1tpGshvs1MOYTb0iAjdCeH9fib3lYp7/WS7xdw7qtmIRP6OnlAV7Abk /qQ3g+23yr8cZKm1ccwGXgFBwRqXtoep7kBOmRUiH0a5M02TG3EQHq6v7Y37AoeOM9x1 9DXIKMmcCE+lyBrwHJ6ZfOSn/Ue4RBPO1KaOpxOllY4lbLlbCTJtVbesmPnCMRlwMNhS 5dX/9k3YNIEC/9NpS+PpWgvtkiJsb44rmiYgZ88uNu0TZbonOlnM0txrPDm26u2z/RUM +rilfdDTVKQGQrisk949FNCPdPRqKQTKhhjfKPVJs9GrRocIpVZR6icvuvstFh1vaCdq DPcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=39jlHxNTPtdcP7AGAdXDJWgLyNtUGg4kX13QLfzBdJY=; b=JhHXtyQtGq9uWf5OUPZpP24MvmPTY0gMvUPudCrQmBl5oGR/Ba8iTlDLwOtUmd/rn1 VutmJhe48OZlVenUIXmG3J7VVFCIm49deFWMBFpHy5fDJZ4IC/9L2yB2nRxGRIsNgxQT GMLuGCNCIqwKG5F1clC35/5u5Qa6dWEZL/tiTa1kjRxvf0ukZygfoftr36C7mE5QYhBg W1OYfv9VDQ2WuucT4xWpuKLU4ADxeA4Ut42L9LCw4GEKfHqarcWqQjGPMpgTC0pMLDLW lgEFe39/J7S/21p/zf+g6OsKF+q9ynOF3twWF7VQ6HUE27iG8hDrwE2MgdLpm/Ym+p+p S8pQ== X-Gm-Message-State: AOAM532jX9EhIZrdi8P0rqdWgHW0FXgI5saQIguaEvYCZl2n69jWokAF vl24zzKwLsz1z59XAxwFUjmg5KjucZFrGRPV9SA= X-Google-Smtp-Source: ABdhPJyq73bUam77FLPzSJaXCeafhuVMJ3YV3tre/N05jOJjbjRUs4mobPCKkcshEXNRki21ZxfOaP/z1JUI8hCjLyg= X-Received: by 2002:aed:29c5:: with SMTP id o63mr17550882qtd.386.1592245122703; Mon, 15 Jun 2020 11:18:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 15 Jun 2020 12:18:26 -0600 Message-ID: To: Daniel Rodrigues Lima Cc: PHP Internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace. From: cja987@gmail.com (Chuck Adams) Oh man, not this again, not here. Nothing intelligent ever comes out of th= is. Looks like most instances in the PHP source refer to mysql constants, which means the ball would be in mysql's court. Reality is you'd still need the aliases that contain the offending word. The other is in ext/standard/proc_open.c, referring to a "slave pty". Seems pretty trivial to change. But "trivial" is the operative word here. Go join a protest and/or call your congressperson if you want to actually do something constructive. Heck, it's not a big list. How about nobody EVEN starts on the name of the branch... =E2=9C=94 ~/proj/php/php-src [master|=E2=9C=94]$ ag slave ext/standard/tests/file/userstreams.phpt 17:to the game you stay a slave ext/standard/proc_open.c 613:static int set_proc_descriptor_to_pty(descriptorspec_item *desc, int *master_fd, int *slave_fd) 616: /* All FDs set to PTY in the child process will go to the slave end of the same PTY. 620: * slave FDs. */ 622: if (openpty(master_fd, slave_fd, NULL, NULL, NULL)) { 629: desc->childend =3D dup(*slave_fd); 761: int ndesc, int nindex, int *pty_master_fd, int *pty_slave_fd) { 803: /* Set descriptor to slave end of PTY */ 804: retval =3D set_proc_descriptor_to_pty(&descriptors[ndesc], pty_master_fd, pty_slave_fd); 925: int pty_master_fd =3D -1, pty_slave_fd =3D -1; 998: &pty_master_fd, &pty_slave_fd) =3D=3D FAILURE) { 1220: if (pty_slave_fd !=3D -1) { 1221: close(pty_slave_fd); ext/mysqlnd/mysqlnd_enum_n_def.h 599: STAT_COM_REGISTER_SLAVE, 664: COM_REGISTER_SLAVE, 692:#define MYSQLND_REFRESH_SLAVE 64 /* Reset master info and restart slave= */ ext/mysqlnd/mysqlnd_libmysql_compat.h 127:#define REFRESH_SLAVE MYSQLND_REFRESH_SLAVE ext/mysqlnd/mysqlnd_wireprotocol.c 52: "TABLE_DUMP", "CONNECT_OUT", "REGISTER_SLAVE", ext/mysqlnd/mysqlnd_statistics.c 181: { MYSQLND_STR_W_LEN("com_register_slave") }, ext/gd/libgd/gd_png.c 365: /* 2.0.12: Slaven Rezic: palette images are not the only images ext/mysqli/tests/mysqli_constants.phpt 97: "MYSQLI_REFRESH_SLAVE" =3D> true, 200: $expected_constants["MYSQLI_RPL_SLAVE"] =3D true; ext/mysqli/tests/mysqli_get_client_stats.phpt 1250: ["com_register_slave"]=3D> ext/mysqli/mysqli.c 818: REGISTER_LONG_CONSTANT("MYSQLI_REFRESH_SLAVE", REFRESH_SLAVE, CONST_CS | CONST_PERSISTENT); =E2=9C=94 ~/proj/php/php-src [master|=E2=9C=94]$ --c On Mon, Jun 15, 2020 at 9:43 AM Daniel Rodrigues Lima wrote: > > Hi internals, > > I think the time has come for the PHP internals to discuss the use of mas= ter/slave and blacklist terminologies. > As everyone can see, we are going through times of change in the world, s= ee #blackLivesMatter for example. > Therefore, I propose that we discuss the non-use of terms master/slave, b= ecause the use of this can allude to the slavery and negative feelings abou= t black people. > > Some projects that changed the terminology: > > * https://github.com/sebastianbergmann/phpunit/commit/8e9c76d33dab4095c90= 66072076f368193e4166d > * https://go-review.googlesource.com/c/go/+/236857/ > * https://issues.apache.org/jira/browse/COUCHDB-2248 > * https://bugs.python.org/issue34605 > > Greets, > > Daniel Rodrigues. > > geekcom@php.net > https://twitter.com/geekcom2 > https://www.linkedin.com/in/danielrodrigueslima/ >