summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dtable.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-02-02 21:00:07 +0000
committerChristopher Faylor <me@cgf.cx>2004-02-02 21:00:07 +0000
commit528060195ca6c38619782fc51a89a4585b816f03 (patch)
tree2650abdaf1261256490a480d841a61f8edea7c72 /winsup/cygwin/dtable.cc
parent6027d26d8b829833f716743acfb6881bb4236627 (diff)
downloadcygnal-528060195ca6c38619782fc51a89a4585b816f03.tar.gz
cygnal-528060195ca6c38619782fc51a89a4585b816f03.tar.bz2
cygnal-528060195ca6c38619782fc51a89a4585b816f03.zip
* 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().
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index e7e6f1732..255278978 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -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)