Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-02-10 20:36:51 +0300
committerEric Blake <eblake@redhat.com>2011-02-10 20:36:51 +0300
commit3c9abad56b7428a396c89b4c18a2adad0106f720 (patch)
treed4295c766d6c24287345ce05044f1701415b03f3 /winsup/cygwin/cygwin.din
parent7c10a76dec8afaf548bf14453ebd689e3457518e (diff)
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.
Diffstat (limited to 'winsup/cygwin/cygwin.din')
-rw-r--r--winsup/cygwin/cygwin.din1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index d9aa23bc4..c0dd2d6c0 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -1934,6 +1934,7 @@ xdrrec_skiprecord SIGFE
__xdrrec_getrec SIGFE
__xdrrec_setnonblock SIGFE
xdrstdio_create SIGFE
+__xpg_strerror_r SIGFE
y0 NOSIGFE
y0f NOSIGFE
y1 NOSIGFE