strerrno and new errno values

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

strerrno and new errno values

Eric Blake (cygwin)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK to apply, to match newlib and in preparation for POSIX 200x?

2008-09-19  Eric Blake  <[hidden email]>

        * errno.cc (_sys_errlist): Add ECANCELED, ENOTRECOVERABLE,
        EOWNERDEAD.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [hidden email]
-----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

iEYEARECAAYFAkjUImwACgkQ84KuGfSFAYAWvQCfQO21uJM4UCVJSdZMWQrQ2VRX
/xEAoJ0+riWwRf6pQnOtnun4c8008U8z
=iAt5
-----END PGP SIGNATURE-----

Index: errno.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/errno.cc,v
retrieving revision 1.67
diff -u -p -b -r1.67 errno.cc
--- errno.cc 11 Sep 2008 06:22:31 -0000 1.67
+++ errno.cc 19 Sep 2008 22:05:33 -0000
@@ -284,7 +284,10 @@ const char *_sys_errlist[] NO_COPY_INIT
 /* ENOSHARE 136 */    "No such host or network path",
 /* ECASECLASH 137 */  "Filename exists with different case",
 /* EILSEQ 138 */  "Invalid or incomplete multibyte or wide character",
-/* EOVERFLOW 139 */  "Value too large for defined data type"
+/* EOVERFLOW 139 */  "Value too large for defined data type",
+/* ECANCELED 140 */  "Operation canceled",
+/* ENOTRECOVERABLE 141 */ "State not recoverable",
+/* EOWNERDEAD 142 */  "Previous owner died"
 };
 
 int NO_COPY_INIT _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
Reply | Threaded
Open this post in threaded view
|

Re: strerrno and new errno values

Christopher Faylor-8
On Fri, Sep 19, 2008 at 04:06:36PM -0600, Eric Blake wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>OK to apply, to match newlib and in preparation for POSIX 200x?
>
>2008-09-19  Eric Blake  <[hidden email]>
>
> * errno.cc (_sys_errlist): Add ECANCELED, ENOTRECOVERABLE,
> EOWNERDEAD.

Yes.  Please apply.

Thanks.

cgf