svn commit: r192398 - in head/usr.bin: . perror

John Baldwin jhb at freebsd.org
Thu May 21 15:52:54 UTC 2009


On Thursday 21 May 2009 11:11:12 am George Neville-Neil wrote:
> 
> On May 21, 2009, at 10:52 , M. Warner Losh wrote:
> 
> > In message: <20090521110115.GA50355 at FreeBSD.org>
> >            Alexey Dokuchaev <danfe at 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.

  ____                     _
 / ___|_ __ ___  ___ _ __ | |
| |  _| '__/ _ \/ _ \ '_ \| |
| |_| | | |  __/  __/ | | |_|
 \____|_|  \___|\___|_| |_(_)

-- 
John Baldwin


More information about the freebsd-chat mailing list