Mail Archives: cygwin/2001/05/16/12:55:25
On Wed, May 16, 2001 at 10:24:18AM -0400, Paul Stodghill wrote:
>>>>>> "Fred" == Fred Yankowski <fred AT ontosys DOT com> writes:
>
> Fred> It looks to me like winsup/cygwin/errno.cc has two missing commas
> Fred> in the initializer for _sys_errlist -- for errors 108 and 112 --
> Fred> causing the values to be wrong for all errno values greater than
> Fred> 107.
>
>Here is a patch to the 1.3.1 sources to fix that problem.
Thanks for the patch. I'd already checked in a fix for this after
seeing the hint above. So this will be in 1.3.2.
cgf
>--- errno.cc.ORIG Wed May 16 10:21:45 2001
>+++ errno.cc Wed May 16 10:22:33 2001
>@@ -255,11 +255,11 @@
> /* ENOBUFS 105 */ "No buffer space available",
> /* EAFNOSUPPORT 106 */ "Address family not supported by protocol",
> /* EPROTOTYPE 107 */ "Protocol wrong type for transport endpoint",
>-/* ENOTSOCK 108 */ "Socket operation on non-socket"
>+/* ENOTSOCK 108 */ "Socket operation on non-socket",
> /* ENOPROTOOPT 109 */ "Protocol not available",
> /* ESHUTDOWN 110 */ "Cannot send after transport endpoint shutdown",
> /* ECONNREFUSED 111 */ "Connection refused",
>-/* EADDRINUSE 112 */ "Address already in use"
>+/* EADDRINUSE 112 */ "Address already in use",
> /* ECONNABORTED 113 */ "Connection aborted",
> /* ENETUNREACH 114 */ "Network is unreachable",
> /* ENETDOWN 115 */ "Network is down",
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -