From owner-cvs-all@FreeBSD.ORG Tue Jun 17 04:16:12 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A974237B401; Tue, 17 Jun 2003 04:16:12 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBA1643FAF; Tue, 17 Jun 2003 04:16:06 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h5HBG0Vd074026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Jun 2003 14:16:01 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h5HBFwp7074018; Tue, 17 Jun 2003 14:15:58 +0300 (EEST) (envelope-from ru) Date: Tue, 17 Jun 2003 14:15:58 +0300 From: Ruslan Ermilov To: Poul-Henning Kamp Message-ID: <20030617111558.GC70321@sunbay.com> References: <20030617192918.S31778@gamplex.bde.org> <26822.1055844688@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iFRdW5/EC4oqxDHL" Content-Disposition: inline In-Reply-To: <26822.1055844688@critter.freebsd.dk> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Bruce Evans Subject: Re: cvs commit: src/lib/libc/gen exec.3 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 11:16:13 -0000 --iFRdW5/EC4oqxDHL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 17, 2003 at 12:11:28PM +0200, Poul-Henning Kamp wrote: > In message <20030617192918.S31778@gamplex.bde.org>, Bruce Evans writes: > >On Tue, 17 Jun 2003, Poul-Henning Kamp wrote: > > > >> phk 2003/06/17 01:57:37 PDT > >> > >> FreeBSD src repository > >> > >> Modified files: > >> lib/libc/gen exec.3 > >> Log: > >> Fix the execle(3) synopsis to include the environment pointer. > > > >This just breaks the execle(3) synopsis again. Synopsises for functions > >are C prototypes. The synopsis for execle() wasn't a prototype in > >rev.1.1, but was fixed in rev.1.5. >=20 > I disagree: we don't run manual pages through C-compilers, we run > them through brains, and they should be optimized for that rather > than for the compilers that never see them. >=20 I have a solution that addresses both concerns, and it's also how this is prototyped in POSIX.1-2001, which is nice as well: int execle(const char *path, const char *arg0, ... /*, (char *)0, char *const envp[]*/); Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --iFRdW5/EC4oqxDHL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+7vhuUkv4P6juNwoRAhSkAJoDEwKwXErhOKrFILpFoPJbnFiWjgCfYVoU r819lzz2PW3i7/2DmDliBOk= =XFWo -----END PGP SIGNATURE----- --iFRdW5/EC4oqxDHL--