Prevent closing a NULL pinfo handle

Christopher Faylor
Thu Aug 17 20:24:00 GMT 2006

On Thu, Aug 17, 2006 at 03:09:13PM -0500, Brian Ford wrote:
>I confess to not having a clue what is really going on here, but I'm
>seeing the following errors from a CVS build (yes, I know debugging has
>been turned on), and it looks like this would be the right thing to do:
>CloseHandle(moreinfo->myself_pinfo) 0x0 failed
>child_info_spawn::~child_info_spawn():125, Win32 error 6
>2006-08-17  Brian Ford  <>
>	* child_info.h (~child_info_spawn): Prevent closing a NULL handle.
>Although, I suspect if the correct thing to do were that simple, it would
>already have been noticed and fixed?  And yes, I know that functionally
>this doesn't make much difference.

Sorry.  This is not the right fix.  I'll look into it when I have the time although
I am not seeing this particular problem.


More information about the Cygwin-patches mailing list