This is the mail archive of the cygwin@cygwin.com 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]

Re: Problem with cp'ing executables


>>>>> "Fred" == Fred Yankowski <fred@ontosys.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.

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


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