This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] Translate INSUFFICIENT_RESOURCES errno
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sat, 5 Nov 2005 14:17:13 -0500
- Subject: Re: [PATCH] Translate INSUFFICIENT_RESOURCES errno
- References: <Pine.CYG.4.58.0511051037180.508@PC1163-8460-XP.flightsafety.com>
- Reply-to: cygwin-patches at cygwin dot com
On Sat, Nov 05, 2005 at 10:41:35AM -0600, Brian Ford wrote:
>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.
/usr/bin/ccache distcc /cygwin/bin/i686-pc-cygwin-g++ -c -gstabs+ -O2 -MMD -fmerge-constants -ftracer ... errno.cc
/cygnus/src/uberbaum/winsup/cygwin/errno.cc:74: error: `ERROR_INSUFFICIENT_RESOURCES' was not declared in this scope
distcc[21947] ERROR: compile /cygnus/src/uberbaum/winsup/cygwin/errno.cc on localhost failed
make: *** [errno.o] Error 1
make: *** [/cygnus/build/win32/i686-pc-cygwin/winsup/cygwin/cygwin0.dll] Error 2
I just downloaded MSDEV C++ and the Platform SDK and I don't see an
ERROR_INSUFFICIENT_RESOURCES in either of them although I do see this
referenced in MSDN in some places. I didn't see a numeric value for
this constant in MSDN, though. I didn't check every single reference,
however.
So, maybe I'm missing something but I'm afraid that I'll have to say
thanks-but-no-thanks for the patch. I can't accept it if it doesn't
compile. It would be a no-brainer if there was a value associated with
ERROR_INSUFFICIENT_RESOURCES.
cgf