[Bug libc/364] strerror_r does not copy error string to user supplied buffer
------- Additional Comments From vda dot linux at googlemail dot com 2006-07-04 11:57 -------
Because I'm tracking down obscure bug in svn (seemingly),
and tracked it down to strerror_r not updating buffer
and _not_ returning -1.
From: Denis Vlasenko <[hidden email]>
To: Malcolm Rowe <[hidden email]>
Subject: Re: BUG: svn enters unkillable state, tracked down to UTF conv in locale!=C
Date: Tue, 4 Jul 2006 13:53:59 +0200
> If your native_strerror() looks like that, you must have STRERROR_R_RC_INT
> defined (in APR's include/arch/unix/apr_private.h), which implies you're
> using the platform-native C library for either AIX or Tru64 (from the
> comments in the above file).
> I thought you were using glibc? What OS are you using?
It _is_ glibc 2.4. Looks like glibc people switched to POSIX version
of strerror_r. See here: