* 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>
|
2005-01-11 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* pinfo.h (_pinfo::set_exit_state): Declare new function.
|
* pinfo.h (_pinfo::set_exit_state): Declare new function.
|
||||||
|
@ -230,7 +230,8 @@ pinfo::init (pid_t n, DWORD flag, HANDLE in_h)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
debug_printf ("MapViewOfFileEx(%p, in_h %p) failed, %E", h, in_h);
|
debug_printf ("MapViewOfFileEx(%p, in_h %p) failed, %E", h, in_h);
|
||||||
CloseHandle (h);
|
if (h != in_h)
|
||||||
|
CloseHandle (h);
|
||||||
}
|
}
|
||||||
if (i < 9)
|
if (i < 9)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user