strerror_r: obey POSIX, and match newlib header change
* errno.cc (__xpg_strerror_r): New function. (strerror_r): Update to copy newlib's fixes. (strerror): Set errno on failure. (_sys_errlist): Cause EINVAL failure for reserved values. * cygwin.din: Export new function. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Combine this into minor 236.
This commit is contained in:
@@ -399,7 +399,7 @@ details. */
|
||||
233: Add TIOCGPGRP, TIOCSPGRP. Export llround, llroundf.
|
||||
234: Export program_invocation_name, program_invocation_short_name.
|
||||
235: Export madvise.
|
||||
236: Export pthread_yield.
|
||||
236: Export pthread_yield, __xpg_strerror_r.
|
||||
*/
|
||||
|
||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||
|
Reference in New Issue
Block a user