From owner-svn-src-head@FreeBSD.ORG Mon Nov 3 13:15:42 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0EE1065690; Mon, 3 Nov 2008 13:15:42 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4AF868FC22; Mon, 3 Nov 2008 13:15:42 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id B68B56D449; Mon, 3 Nov 2008 13:15:40 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 9338A84497; Mon, 3 Nov 2008 14:15:40 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Bruce Evans References: <200810311447.m9VElFtp083250@svn.freebsd.org> <20081101212937.D12448@delplex.bde.org> Date: Mon, 03 Nov 2008 14:15:40 +0100 In-Reply-To: <20081101212937.D12448@delplex.bde.org> (Bruce Evans's message of "Sat, 1 Nov 2008 22:05:41 +1100 (EST)") Message-ID: <867i7lq7b7.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Robert Watson Subject: Re: svn commit: r184509 - head/share/man/man9 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 13:15:42 -0000 Bruce Evans writes: > Robert Watson writes: > > In style(9) examples of err() and errx(), use sysexits(3) errors > > rather than returning 1. > style(9) was correct. Using sysexits(3) is a style bug in most cases > [...] I agree. If we must use symbolic names, I suggest we just follow the standard, cf. ISO/IEC 9899:1999 =C2=A77.20.4.3: If the value of status is zero or EXIT_SUCCESS, an implementation- defined form of the status successful termination is returned. If the value of status is EXIT_FAILURE, an implementation-defined form of the status unsuccessful termination is returned. Otherwise the status returned is implementation-defined. Note that our defines EXIT_FAILURE to 1. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no