diff options
author | Christopher Faylor <me@cgf.cx> | 2004-02-03 00:00:07 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-02-03 00:00:07 +0300 |
commit | 528060195ca6c38619782fc51a89a4585b816f03 (patch) | |
tree | 2650abdaf1261256490a480d841a61f8edea7c72 /winsup/cygwin/pipe.cc | |
parent | 6027d26d8b829833f716743acfb6881bb4236627 (diff) |
* 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/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index 9f9909910..e46eb7b72 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -123,7 +123,7 @@ fhandler_pipe::hit_eof () } void -fhandler_pipe::fixup_after_exec (HANDLE parent) +fhandler_pipe::fixup_after_exec () { if (read_state) { @@ -140,7 +140,7 @@ fhandler_pipe::fixup_after_fork (HANDLE parent) fork_fixup (parent, guard, "guard"); if (writepipe_exists) fork_fixup (parent, writepipe_exists, "guard"); - fixup_after_exec (parent); + fixup_after_exec (); } int |