This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Why put this patch?


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>.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]