This is the mail archive of the cygwin-patches 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]
Other format: [Raw text]

Re: [PATCH] Translate INSUFFICIENT_RESOURCES errno


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


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