From owner-svn-src-head@FreeBSD.ORG Thu May 21 15:21:48 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 4EB9A106567F; Thu, 21 May 2009 15:21:48 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from proxy.meer.net (proxy.meer.net [64.13.141.13]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1D78FC27; Thu, 21 May 2009 15:21:47 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from mail.meer.net (mail.meer.net [64.13.141.3]) by proxy.meer.net (8.14.3/8.14.3) with ESMTP id n4LFDFck089137; Thu, 21 May 2009 08:13:15 -0700 (PDT) (envelope-from gnn@FreeBSD.org) Received: from mail2.meer.net (mail2.meer.net [64.13.141.16]) by mail.meer.net (8.13.3/8.13.3/meer) with ESMTP id n4LFBHOG003647; Thu, 21 May 2009 08:11:17 -0700 (PDT) (envelope-from gnn@FreeBSD.org) Received: from [10.2.204.104] (209.249.190.8.available.above.net [209.249.190.8] (may be forged)) (authenticated bits=0) by mail2.meer.net (8.14.1/8.14.3) with ESMTP id n4LFBC79088574 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 21 May 2009 08:11:13 -0700 (PDT) (envelope-from gnn@FreeBSD.org) Message-Id: <552187D6-D700-4BFE-BCA3-8EDC29E7DC5B@FreeBSD.org> From: George Neville-Neil To: "M. Warner Losh" In-Reply-To: <20090521.085256.-1989816394.imp@bsdimp.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 21 May 2009 11:11:12 -0400 References: <20090521132404.cc5be268.stas@FreeBSD.org> <20090521110115.GA50355@FreeBSD.org> <20090521.085256.-1989816394.imp@bsdimp.com> X-Mailer: Apple Mail (2.935.3) X-Spam-Score: undef - spam scanning disabled X-CanIt-Geo: ip=64.13.141.3; country=US; region=CA; city=Mountain View; latitude=37.3974; longitude=-122.0732; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.3974,-122.0732&z=6 X-CanItPRO-Stream: default X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 64.13.141.13 Cc: unixmania@gmail.com, danfe@FreeBSD.org, src-committers@FreeBSD.org, peterjeremy@optushome.com.au, svn-src-all@FreeBSD.org, stas@FreeBSD.org, svn-src-head@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: Thu, 21 May 2009 15:21:48 -0000 On May 21, 2009, at 10:52 , M. Warner Losh wrote: > In message: <20090521110115.GA50355@FreeBSD.org> > Alexey Dokuchaev writes: > : > Given how easy it is to "grep <> /usr/include/sys/ > errno.h" or > : > perl -e '$! = <>; print "$!\n";' > : > I'm not sure of the utility of this tool. > : > : User scripts should not depend on presence of system include files. > : Now, just to mention, Nick's suggestion about dropping extra noise > : actually good one. > > There's also internationalization that actually happens too, right? > That doesn't happen with grep.. Sorry to not jump in sooner, but I just wanted to say... The reason for this program is that it makes it easier for sysadmins and script writers to make sense of programs which they do not control the source for. The program will continue to work no matter how we expand or change errno.h. Best, George PS I'd like to paint it red.