fix perror POSIX compliance
Corinna Vinschen
vinschen@redhat.com
Wed May 25 18:41:00 GMT 2011
On May 23 17:16, Eric Blake wrote:
> * libc/string/strerror.c (strerror): Split body into...
> (_strerror_r): ...new reentrant function.
> * libc/string/u_strerr.c (_user_strerror): Update signature.
> * libc/include/stdio.h (_strerror_r): New prototype.
> * libc/posix/collate.c (__collate_err): Adjust callers.
> * libc/stdio/perror.c (_perror_r): Likewise.
> * libc/string/strerror_r.c (strerror_r): Likewise.
> * libc/string/xpg_strerror_r.c (__xpg_strerror_r): Likewise.
Looks good to me. It build and runs for me on Cygwin. You did test it,
also with the newlib strerror and strerror_r functions, right? If so,
please apply.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
More information about the Newlib
mailing list