* fhandler.h (*::fixup_after_exec): Eliminate unused handle argument.

* fhandler.h (dtable::fixup_after_exec): Eliminate unused handle argument.
* dcrt0.cc (dll_crt0_1): Reflect elimination of unused handle argument to
fixup_after_exec.
* dtable.cc (dtable::fixup_after_exec): Ditto.
* fhandler_console.cc (fhandler_console::fixup_after_exec): Ditto.
* fhandler_dsp.cc (fhandler_dsp::fixup_after_exec): Ditto.
* fhandler_raw.cc (fhandler_raw::fixup_after_exec): Ditto.
* fhandler_socket.cc (fhandler_socket::fixup_after_exec): Ditto.
* fhandler_virtual.cc (fhandler_virtual::fixup_after_exec): Ditto.
* pipe.cc (fhandler_pipe::fixup_after_exec): Ditto.
* spawn.cc (spawn_guts): Do not set ciresrv.parent.
* child_info.h (child_info_spawn::~child_info_spawn): Do not close parent.
Update CURR_CHILD_INFO_MAGIC.
* dcrt0.cc (dll_crt0_0): Do not close spawn_info->parent.  Pass NULL to
cygheap->fdtab.fixup_after_exec().
This commit is contained in:
Christopher Faylor
2004-02-02 21:00:07 +00:00
parent 6027d26d8b
commit 528060195c
14 changed files with 47 additions and 34 deletions

View File

@@ -659,7 +659,7 @@ dtable::set_file_pointers_for_exec ()
}
void
dtable::fixup_after_exec (HANDLE parent)
dtable::fixup_after_exec ()
{
first_fd_for_open = 0;
fhandler_base *fh;
@@ -676,7 +676,7 @@ dtable::fixup_after_exec (HANDLE parent)
}
else
{
fh->fixup_after_exec (parent);
fh->fixup_after_exec ();
if (i == 0)
SetStdHandle (std_consts[i], fh->get_io_handle ());
else if (i <= 2)