Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2009 11:11:12 -0400
From:      George Neville-Neil <gnn@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
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
Message-ID:  <552187D6-D700-4BFE-BCA3-8EDC29E7DC5B@FreeBSD.org>
In-Reply-To: <20090521.085256.-1989816394.imp@bsdimp.com>
References:  <e71790db0905201558u1c8e3e90n1fbbfc4011e22909@mail.gmail.com> <20090521132404.cc5be268.stas@FreeBSD.org> <20090521110115.GA50355@FreeBSD.org> <20090521.085256.-1989816394.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 21, 2009, at 10:52 , M. Warner Losh wrote:

> In message: <20090521110115.GA50355@FreeBSD.org>
>            Alexey Dokuchaev <danfe@FreeBSD.org> writes:
> : > Given how easy it is to "grep <<errno>> /usr/include/sys/ 
> errno.h" or
> : > perl -e '$! = <<errno>>; 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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?552187D6-D700-4BFE-BCA3-8EDC29E7DC5B>