This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix perror POSIX compliance


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]