From owner-cvs-src@FreeBSD.ORG Tue Jun 17 04:50:44 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDF5437B401; Tue, 17 Jun 2003 04:50:43 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A40CD43F75; Tue, 17 Jun 2003 04:50:42 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h5HBofkA067567; Tue, 17 Jun 2003 05:50:41 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 17 Jun 2003 05:50:05 -0600 (MDT) Message-Id: <20030617.055005.42206780.imp@bsdimp.com> To: ru@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <20030617111558.GC70321@sunbay.com> References: <20030617192918.S31778@gamplex.bde.org> <26822.1055844688@critter.freebsd.dk> <20030617111558.GC70321@sunbay.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: phk@phk.freebsd.dk cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: bde@zeta.org.au Subject: Re: cvs commit: src/lib/libc/gen exec.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 11:50:44 -0000 In message: <20030617111558.GC70321@sunbay.com> Ruslan Ermilov writes: : 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. : > : > 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. : > : 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[]*/); I like it. Warner