diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-03 06:20:23 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-03 06:20:23 +0000 |
commit | f3afe99b0b8de188814ae7e7f841d2566532ef27 (patch) | |
tree | c0ecbf0fe730c3fe33fdfc27ea4f3028599dd5fb /winsup/cygwin/dtable.h | |
parent | 7b061fd844f6ade0087cfde28eea223b2aa778a2 (diff) | |
download | cygnal-f3afe99b0b8de188814ae7e7f841d2566532ef27.tar.gz cygnal-f3afe99b0b8de188814ae7e7f841d2566532ef27.tar.bz2 cygnal-f3afe99b0b8de188814ae7e7f841d2566532ef27.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/dtable.h')
-rw-r--r-- | winsup/cygwin/dtable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/dtable.h b/winsup/cygwin/dtable.h index 0223af71f..589a27a0d 100644 --- a/winsup/cygwin/dtable.h +++ b/winsup/cygwin/dtable.h @@ -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); |