delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/16/10:25:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: Cygwin Users <cygwin AT cygwin DOT com>
Subject: Re: Problem with cp'ing executables
References: <yz1d79cavjn DOT fsf AT milhouse DOT cs DOT cornell DOT edu>
<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 <stodghil AT cs DOT cornell DOT edu>
In-Reply-To: <20010514141215.A99568@enteract.com>
Date: 16 May 2001 10:24:18 -0400
Message-ID: <yz1heyls771.fsf@milhouse.cs.cornell.edu>
Lines: 25
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Developer-Friendly Unix APIs)
MIME-Version: 1.0

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

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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019