[PATCH] Change strerror_r definition for cygwin

Christopher Faylor me@cgf.cx
Fri Aug 26 02:18:00 GMT 2005


On Thu, Aug 25, 2005 at 07:03:42PM -0400, Christopher Faylor wrote:
>It seems like newlib's strerror_r implementation is not compliant with
>standards.  We need to have strerror_r return an integer for cygwin so
>I've made the change below.
>
>OTOH, if this change should be the default, let me know and I'll be
>happy to change libc/string/strerror_r.c .

Sorry about that.  Apparently it isn't that simple.  There are two
differing implementations of strerror_r and newlib is emulating the
default linux version.

cgf



More information about the Newlib mailing list