This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Prevent closing a NULL pinfo handle
- From: Brian Ford <Brian dot Ford at FlightSafety dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Aug 2006 14:09:45 -0500
- Subject: Re: Prevent closing a NULL pinfo handle
- References: <Pine.CYG.4.58.0608171502550.2408@PC1163-8460-XP.flightsafety.com> <20060817202427.GF22061@trixie.casa.cgf.cx>
- Reply-to: cygwin at cygwin dot com
On Thu, 17 Aug 2006, Christopher Faylor wrote:
> I'll look into it when I have the time although I am not seeing this
> particular problem.
In case you'd like an STC:
$ cat system.c
#include <stdlib.h>
int
main(void)
{
return system("/usr/bin/ls");
}
$ gcc -g -Wall -O2 system.c -o system
$ ./system
system.c system.exe
CloseHandle(moreinfo->myself_pinfo) 0x0 failed
child_info_spawn::~child_info_spawn():125, Win32 error 6
--
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...
.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/