This is the mail archive of the cygwin-developers@sources.redhat.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: strerror(EAGAIN)


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.Tishler@dothill.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";



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