Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: Cygwin Users Subject: Re: Problem with cp'ing executables References: <20010514125855 DOT A8574 AT redhat DOT com> <3B0014E3 DOT 4DC3CFC2 AT yahoo DOT com> <20010514133111 DOT A9139 AT redhat DOT com> <3B001DD1 DOT 7CDDF361 AT yahoo DOT com> <20010514141215 DOT A99568 AT enteract DOT com> From: Paul Stodghill In-Reply-To: <20010514141215.A99568@enteract.com> Date: 16 May 2001 10:24:18 -0400 Message-ID: Lines: 25 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Developer-Friendly Unix APIs) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "Fred" == Fred Yankowski 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