This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12805] GNU strerror_r should always populate buf
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sat, 11 Jun 2011 03:26:57 +0000
- Subject: [Bug libc/12805] GNU strerror_r should always populate buf
- Auto-submitted: auto-generated
- References: <bug-12805-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12805
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> 2011-06-11 03:26:22 UTC ---
The incompatible versions of strerror_r and their ugly behavior of requiring a
caller-provided buffer for what should be .rodata strings can be avoided
entirely by using the (POSIX 2008) strerror_l function. Thus I tend to agree
there's no sense in trying to fix/improve strerror_r.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.