missing errno values

Jeff Johnston jjohnstn@redhat.com
Thu Sep 18 21:44:00 GMT 2008


Patch is fine.  Do you need me to apply it?

-- Jeff J.

Eric Blake wrote:
> -----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-----
>   



More information about the Newlib mailing list