Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 09:09:03 -0500 From: Jason Tishler To: cygwin-developers AT sources DOT redhat DOT com Subject: Re: strerror(EAGAIN) Message-ID: <20001106090903.H196@dothill.com> References: <20001103161043 DOT A409 AT dothill DOT com> <20001103162905 DOT O17861 AT redhat DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ZbbcSUj46nzYTFNp" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001103162905.O17861@redhat.com>; from cgf@redhat.com on Fri, Nov 03, 2000 at 04:29:05PM -0500 Organization: Dot Hill Systems Corp. --ZbbcSUj46nzYTFNp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --ZbbcSUj46nzYTFNp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="errno.patch" 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"; --ZbbcSUj46nzYTFNp--