This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/840] strerror_r() not conforming to SUSv3
- From: "gotom at debian dot or dot jp" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Jun 2005 15:39:01 -0000
- Subject: [Bug libc/840] strerror_r() not conforming to SUSv3
- References: <20050411165259.840.gwesp@flyelite.ch>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From gotom at debian dot or dot jp 2005-06-01 15:39 -------
Please read string/string.h:
/* Reentrant version of `strerror'.
There are 2 flavors of `strerror_r', GNU which returns the string
and may or may not use the supplied temporary buffer and POSIX one
which fills the string into the buffer.
To use the POSIX version, -D_XOPEN_SOURCE=600 or -D_POSIX_C_SOURCE=200112L
without -D_GNU_SOURCE is needed, otherwise the GNU version is
preferred. */
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
http://sources.redhat.com/bugzilla/show_bug.cgi?id=840
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.