From owner-svn-src-all@FreeBSD.ORG Fri Sep 19 04:35:00 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2B67173 for ; Fri, 19 Sep 2014 04:35:00 +0000 (UTC) Received: from nm39-vm3.bullet.mail.bf1.yahoo.com (nm39-vm3.bullet.mail.bf1.yahoo.com [72.30.239.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2F3837E for ; Fri, 19 Sep 2014 04:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1411100960; bh=4+h9lSFDvOIpZRkFJLKtYOpDttr7kEhZ3h2XbZmGgPo=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Message-Id:References:To:X-Mailer:From:Subject; b=Ojih1llSWtLferrGcfBlo0unsdTn881NpUfzRn2aC7FkZmyPP2DXnG+hVkWu+xB7qahRbnFQ4CXhkga9PYxVQi6YOiDXGgR4maJNVhEbmrFhS9loC+f5zWg0YsUdpo4Iu0FSKQF8KKcr/w/3CZ1YAg2s2pDdiSTA6DHbNvbmTiHd4oJJ63ves5ssFuOyIGvtH/6AoI9WHESvqSXab0Zo9bl064V11naNe2JERgq0jiZSmCVUBf6Y56m96gcxuyPBTKK/C8V1AsQ2kjeUzHbFQe7DyZW13KiaMYwrHBXjtqwMDhT0zEYCi51ZN63ZlTKBDtJtTIxsS/zKGTZVRJTOFA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=b6ldSqX6fOVTnxBr+O3TFP1LL3a6W4wlkejLPAyqXHdmzIMVUOKGTekapVa9fovY5DM9Z4HTCTMmSHPcjM5Mr+cL69JWQi7QZnYRGQilCLuKBAkLrkobpGvtq8yHzT9dCWt1PPpZ2O6rdvhtiqKvq6eJWkN6uOtw4pz97R4xt71EshSY+YYqaSVpHxgXGZffiq6M0Ba6e2zeilaN3PKEs1W6CxyzKemfcaJUmIVUYM5NXNg1YBSYnDYXK50CRRBckH9PTGmyfRBC8PYqcKiAT0DTNh7kbjmQij45Yums0X6l0Cd6SxkxTY949OamFmDGZsS2XX7pFoexDlJxRqaDOQ==; Received: from [98.139.215.143] by nm39.bullet.mail.bf1.yahoo.com with NNFMP; 19 Sep 2014 04:29:20 -0000 Received: from [68.142.230.71] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 19 Sep 2014 04:29:20 -0000 Received: from [127.0.0.1] by smtp228.mail.bf1.yahoo.com with NNFMP; 19 Sep 2014 04:29:20 -0000 X-Yahoo-Newman-Id: 649465.26501.bm@smtp228.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: OfCFE2gVM1nAYsioEUTvdirDmC1w8DM.NtDMBE5SpeoHg5b XdU3tQ7Cyn8Al9LUVmN6WZw1JW6Vd81YDC4YElimp25NVvo6ABXbWtiqW42z tEsiZGVWRCYU6Dep01XIlD6MH5JVL2gONwo.HmnkTRK9fp0mqpg_aUsQSEqp GnbF81bNZiBFLv.vBIYqKzRwGmAq67nG4v1izxqpngTtOhemYZpNr93wnODL 6fEvBuRRXURYNA3zRYVjOXsI6RBVLV8i69XCgvv2Un_GCCze8c5rISu7rCfM 78S20s8dkX3XjYPY.f0LRCs93iEUyGjIKkaMbyC.wXvtDW__FqWnm9vXoCE7 _g.J_AJSoEQdplrXk21CyLCHAXP1rsTn2rVAOKto5Cc77a7K0025keDH1bAh lSRs.g92sv5zaeeCRSptNOxDDi24wfl0ZR3c.63K8wEhiimFwjKfVFHToP7i SXHMRmSXzLYMxf8fPxegXb22NJocOIiMd77MBJnzAepmhUrXW2osaRRuuBGo uW8OgyBA7pYyASnEvEQ06073neYzPeB9TqdPgM8rDAbbj9gcnAdXNR0e_Yd. 2JZMJ4a7e7AFfsTEBFZWp5vNtz9.AsQDzuudaUQhUTOD.Lx0yqTPIpDlR7SK OiBd4IH7uwA0xY1ODnVJX7Na_9IdUlQArqJJ.EKXmtg-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r271792 - head/include From: Pedro Giffuni In-Reply-To: <20140919015228.GA12490@ns.kevlo.org> Date: Thu, 18 Sep 2014 23:28:52 -0500 Message-Id: References: <201409181718.s8IHIhNL052969@svn.freebsd.org> <20140919015228.GA12490@ns.kevlo.org> To: Kevin Lo X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2014 04:35:01 -0000 Il giorno 18/set/2014, alle ore 20:52, Kevin Lo ha = scritto: > On Thu, Sep 18, 2014 at 05:18:43PM +0000, Pedro F. Giffuni wrote: >>=20 >> Author: pfg >> Date: Thu Sep 18 17:18:42 2014 >> New Revision: 271792 >> URL: http://svnweb.freebsd.org/changeset/base/271792 >>=20 >> Log: >> unistd: move setpgrp(2) to the __BSD_VISIBLE section >>=20 >> Our setpgrp(2) differs from the specified by POSIX, which >> only has one argument, and is only meant for compatibility >> with BSD. >>=20 >> Reference: >> = http://pubs.opengroup.org/onlinepubs/009695399/functions/setpgrp.html >>=20 >> Pointed-out in: openbsd-tech (2014-09-16) >> MFC after: 6 weeks >>=20 >> Modified: >> head/include/unistd.h >>=20 >> Modified: head/include/unistd.h >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- head/include/unistd.h Thu Sep 18 17:15:38 2014 = (r271791) >> +++ head/include/unistd.h Thu Sep 18 17:18:42 2014 = (r271792) >> @@ -453,7 +453,6 @@ int encrypt(char *, int); >> long gethostid(void); >> int lockf(int, int, off_t); >> int nice(int); >> -int setpgrp(pid_t _pid, pid_t _pgrp); /* obsoleted by setpgid() */ >> int setregid(gid_t, gid_t); >> int setreuid(uid_t, uid_t); >>=20 >> @@ -567,6 +566,7 @@ int setkey(const char *); >> int setlogin(const char *); >> int setloginclass(const char *); >> void *setmode(const char *); >> +int setpgrp(pid_t _pid, pid_t _pgrp); /* obsoleted by setpgid() */ >> void setproctitle(const char *_fmt, ...) __printf0like(1, 2); >> int setresgid(gid_t, gid_t, gid_t); >> int setresuid(uid_t, uid_t, uid_t); >=20 > Since there are no prototypes in unistd.h include arguments,=20 > I'd be inclined to drop them for consistency. >=20 The effect on ports would have to be evaluated first, but TBH I don=92t = find having this extra function around for a while troublesome at all. FWIW, strtoq and strtouq, in stdlib.h, are more =93interesting=94. =20 Pedro.