From owner-svn-src-head@FreeBSD.ORG Wed May 20 20:01:42 2009 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 1CE49106566C; Wed, 20 May 2009 20:01:42 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by mx1.freebsd.org (Postfix) with ESMTP id 7C7878FC14; Wed, 20 May 2009 20:01:41 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-216-167.belrs3.nsw.optusnet.com.au [122.106.216.167]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n4KK1c97028447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 May 2009 06:01:39 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id n4KK1ca8067610; Thu, 21 May 2009 06:01:38 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id n4KK1c5t067609; Thu, 21 May 2009 06:01:38 +1000 (EST) (envelope-from peter) Date: Thu, 21 May 2009 06:01:38 +1000 From: Peter Jeremy To: "George V. Neville-Neil" Message-ID: <20090520200138.GA33344@server.vk2pj.dyndns.org> References: <200905191740.n4JHeMMU005087@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <200905191740.n4JHeMMU005087@svn.freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.19 (2009-01-05) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r192398 - in head/usr.bin: . perror 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: Wed, 20 May 2009 20:01:42 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-May-19 17:40:22 +0000, "George V. Neville-Neil" w= rote: >Log: > Add a new program, perror, which takes an errno as a command line argume= nt > and outputs the associated textual message in the same way that > perror(3) would if called within a program. Given how easy it is to "grep <> /usr/include/sys/errno.h" or perl -e '$! =3D <>; print "$!\n";' I'm not sure of the utility of this tool. One downside is that man perror will now return perror(1) instead of perror(3) --=20 Peter Jeremy --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoUYaIACgkQ/opHv/APuIdKoACgi8NLAG+QG5+ecAHNJfgvTGqT E5MAnilcdWqU296HLCfZ7Ro5sbkITC18 =prVm -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--