Why put this patch?

H.J. Lu hjl@lucon.org
Thu Nov 19 14:05:00 GMT 1998


Why put in this patch? If you take a look at sysdeps/generic/_strerror.c,
you will see this patch is bogus since strerror_r returns the message,
which is not necessarily in the buffer passed to strerror_r.

Ulrich, could you please fix it?

Thanks.


-- 
H.J. Lu (hjl@gnu.org)
---
1998-11-15  Ulrich Drepper  <drepper@cygnus.com
    
        * misc/error.c (error): Don't use result of strerror_r call directly
        since at least DEC Unix has a wrong return type.
        Patch by Johan Danielsson <joda@pdc.kth.se>.




More information about the Libc-hacker mailing list