mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* pinfo.cc (pinfo::init): Don't close input handle on temporary (?) failure.
This commit is contained in:
parent
d1adad9045
commit
7730395470
@ -1,3 +1,8 @@
|
||||
2005-01-11 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* pinfo.cc (pinfo::init): Don't close input handle on temporary (?)
|
||||
failure.
|
||||
|
||||
2005-01-11 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* pinfo.h (_pinfo::set_exit_state): Declare new function.
|
||||
|
@ -230,7 +230,8 @@ pinfo::init (pid_t n, DWORD flag, HANDLE in_h)
|
||||
else
|
||||
{
|
||||
debug_printf ("MapViewOfFileEx(%p, in_h %p) failed, %E", h, in_h);
|
||||
CloseHandle (h);
|
||||
if (h != in_h)
|
||||
CloseHandle (h);
|
||||
}
|
||||
if (i < 9)
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user