[PATCH] Translate INSUFFICIENT_RESOURCES errno

Brian Ford Brian.Ford@flightsafety.com
Sat Nov 5 16:41:00 GMT 2005


Trivial patch to do subject.  This would have made the error in this
thread more consistent:

http://cygwin.com/ml/cygwin/2005-11/msg00110.html

2005-11-05  Brian Ford  <Brian.Ford@FlightSafety.com>

	* errno.cc (errmap): Handle INSUFFICIENT_RESOURCES.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...
-------------- next part --------------
Index: errno.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/errno.cc,v
retrieving revision 1.61
diff -u -p -r1.61 errno.cc
--- errno.cc	26 Sep 2005 15:27:15 -0000	1.61
+++ errno.cc	5 Nov 2005 16:36:59 -0000
@@ -71,6 +71,7 @@ static NO_COPY struct
   X (FILE_NOT_FOUND,		ENOENT),
   X (HANDLE_DISK_FULL,		ENOSPC),
   X (HANDLE_EOF,		ENODATA),
+  X (INSUFFICIENT_RESOURCES,	EAGAIN),
   X (INVALID_ADDRESS,		EINVAL),
   X (INVALID_AT_INTERRUPT_TIME,	EINTR),
   X (INVALID_BLOCK_LENGTH,	EIO),


More information about the Cygwin-patches mailing list