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

Gabor Kovesdan gabor at FreeBSD.org
Fri May 22 11:41:46 UTC 2009


Robert Watson escribió:
> On Fri, 22 May 2009, Bruce Evans wrote:
>
>>> : actually good one.
>>>
>>> There's also internationalization that actually happens too, right? 
>>> That doesn't happen with grep..
>>
>> What about with "man errno".  Man pages are slightly more likely to 
>> be present than application (not system) include files, and man 
>> should support localization.  It gives more noise than grepping an 
>> include file, but the noise might be signal and can be filtered.
>
> For me, at least, a simple text -> errno name ("EPERM") would go a 
> long way, since they aren't internationalized strings, and are 
> therefore usable in scripts in useful ways.  On the topic of man pages 
> though -- I was interested to see that Mac OS X does not ship with an 
> errno(2), despite shipping with a BSD-derived errno.h.
They didn't used to be internationalized strings but since my libc NLS 
commit they are. Now we have quite a few catalogs for common languages 
so it isn't so trivial any more...

-- 
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: gabor at FreeBSD.org .:|:. gabor at kovesdan.org
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org



More information about the svn-src-head mailing list