* 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:
Christopher Faylor
2003-01-03 06:20:23 +00:00
parent 7b061fd844
commit f3afe99b0b
5 changed files with 11 additions and 3 deletions

View File

@@ -79,6 +79,7 @@ public:
void stdio_init ();
void get_debugger_info ();
void set_file_pointers_for_exec ();
bool in_vfork_cleanup () {return fds_on_hold == fds;}
};
void dtable_init (void);