[uClibc] what to do for missing sys_nerr

Manuel Novoa III mjn3 at codepoet.org
Thu Jan 15 04:37:53 UTC 2004


Hello,

On Wed, Jan 14, 2004 at 09:33:45PM +0100, Peter S. Mazinger wrote:
> I am trying to build dev86 (0.16.3), and replaced sys_errlist, but what 
> should I do with sys_nerr?

Remove it?  The only time I see it used is in ar.c, and then only to
prevent accesses outside the range of sys_errlist.  When using functions
list strerror_r() or strerror(), doing such range checks is unnecessary
as the functions handle it themselves.

Manuel



More information about the uClibc mailing list