This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Why put this patch?
- To: libc-hacker@cygnus.com (GNU C Library)
- Subject: Why put this patch?
- From: hjl@lucon.org (H.J. Lu)
- Date: Thu, 19 Nov 1998 14:05:29 -0800 (PST)
- Cc: drepper@cygnus.com (Ulrich Drepper)
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>.