* fhandler.cc (fhandler_base::fork_fixup): Guard against compiler warning.
This commit is contained in:
parent
b20e2ee663
commit
1a2cca85d2
|
@ -1,3 +1,8 @@
|
|||
2001-10-16 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* fhandler.cc (fhandler_base::fork_fixup): Guard against compiler
|
||||
warning.
|
||||
|
||||
2001-10-16 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* autoload.cc: Add load statement for `NtOpenFile'.
|
||||
|
|
|
@ -1629,7 +1629,9 @@ fhandler_base::set_inheritance (HANDLE &h, int not_inheriting)
|
|||
void
|
||||
fhandler_base::fork_fixup (HANDLE parent, HANDLE &h, const char *name)
|
||||
{
|
||||
#ifdef DEBUGGING
|
||||
HANDLE oh = h;
|
||||
#endif
|
||||
if (/* !is_socket () && */ !get_close_on_exec ())
|
||||
debug_printf ("handle %p already opened", h);
|
||||
else if (!DuplicateHandle (parent, h, hMainProc, &h, 0, !get_close_on_exec (),
|
||||
|
|
Loading…
Reference in New Issue