delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/11/06/11:31:30

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Mon, 6 Nov 2000 11:12:37 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: strerror(EAGAIN)
Message-ID: <20001106111237.A1289@redhat.com>
Reply-To: cygwin-developers AT sources DOT redhat DOT com
Mail-Followup-To: cygwin-developers AT sources DOT redhat DOT com
References: <20001103161043 DOT A409 AT dothill DOT com> <20001103162905 DOT O17861 AT redhat DOT com> <20001106090903 DOT H196 AT dothill DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <20001106090903.H196@dothill.com>; from Jason.Tishler@dothill.com on Mon, Nov 06, 2000 at 09:09:03AM -0500

I've applied the patch.  Thanks.

I'd appreciate it if you would provide a complete ChangeLog with header info,
etc., indented with a tab.  It makes the patch very slightly easier to install.

Thanks again.

cgf

On Mon, Nov 06, 2000 at 09:09:03AM -0500, Jason Tishler wrote:
>On Fri, Nov 03, 2000 at 04:29:05PM -0500, Christopher Faylor wrote:
>> On Fri, Nov 03, 2000 at 04:10:43PM -0500, Jason Tishler wrote:
>> >Is there any reason why Cygwin's strerror(EAGAIN) returns "No more
>> >processes" instead of "Resource temporarily unavailable" as on other
>> >UNIXes (at least Solaris and RedHat 6.2 Linux)?
>> 
>> If you submit a patch, I'll apply it.
>
>See attached for above patch.
>
>The following is the cygwin ChangeLog:
>
>    * errno.cc (strerror): Change EAGAIN case to return "Resource
>    temporarily unavailable" instead of "No more processes".
>
>Thanks,
>Jason
>
>-- 
>Jason Tishler
>Director, Software Engineering       Phone: +1 (732) 264-8770 x235
>Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
>82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
>Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

>Index: errno.cc
>===================================================================
>RCS file: /cvs/src/src/winsup/cygwin/errno.cc,v
>retrieving revision 1.14
>diff -u -p -r1.14 errno.cc
>--- errno.cc	2000/10/12 04:38:29	1.14
>+++ errno.cc	2000/11/05 19:04:43
>@@ -334,7 +334,7 @@ strerror (int errnum)
>       error = "No children";
>       break;
>     case EAGAIN:
>-      error = "No more processes";
>+      error = "Resource temporarily unavailable";
>       break;
>     case ENOMEM:
>       error = "Not enough memory";


- Raw text -


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