missing errno values
Eric Blake
ebb9@byu.net
Thu Sep 18 19:25:00 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
POSIX 2001 requires ECANCELED (and while this was added in Feb, strerror
did not pick it up). And POSIX 200x, due out later this year, adds
ENOTRECOVERABLE and EOWNERDEAD (in the context of robust mutexes). OK to
commit? Or should the new values occupy some of the previously reserved
values (for example, 47 and 48)?
Once this is approved, I will post the followup patch to cygwin's
_sys_errlist in their error.cc file (it already has to grow to support
ECANCELED, whether or not the two new macros are injected in the middle to
save size).
2008-09-15 Eric Blake <ebb9@byu.net>
Supply missing POSIX errno values.
* libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
* libc/string/strerror.c (strerror): Decode them, and ECANCELED.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjOTgwACgkQ84KuGfSFAYDFMgCgm2mQ1NZb7wIyQ/Ns5hYWTi0S
XV0AoJd2ox0i9njQlV4z9Fqj2Ac8nMvd
=kD4X
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch30
URL: <http://sourceware.org/pipermail/newlib/attachments/20080918/ded5123b/attachment.ksh>
More information about the Newlib
mailing list