* dtable.h (dtable::in_vfork_cleanup): New function. True if vfork cleanup
needed. * dtable.cc (dtable::vfork_parent_restore): Remove assertion. * pipe.cc (fhandler_pipe::close): Don't close read_state during fork_fixup since it wasn't inherited.
This commit is contained in:
@@ -675,7 +675,6 @@ dtable::vfork_parent_restore ()
|
||||
|
||||
close_all_files ();
|
||||
fhandler_base **deleteme = fds;
|
||||
assert (fds_on_hold != NULL);
|
||||
fds = fds_on_hold;
|
||||
fds_on_hold = NULL;
|
||||
cfree (deleteme);
|
||||
|
Reference in New Issue
Block a user