This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

strerrno and new errno values


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

2008-09-19  Eric Blake  <ebb9@byu.net>

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

- --
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

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]);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]