aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dtable.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-03 06:20:23 +0000
committerChristopher Faylor <me@cgf.cx>2003-01-03 06:20:23 +0000
commitf3afe99b0b8de188814ae7e7f841d2566532ef27 (patch)
treec0ecbf0fe730c3fe33fdfc27ea4f3028599dd5fb /winsup/cygwin/dtable.cc
parent7b061fd844f6ade0087cfde28eea223b2aa778a2 (diff)
downloadnewlib-f3afe99b0b8de188814ae7e7f841d2566532ef27.zip
newlib-f3afe99b0b8de188814ae7e7f841d2566532ef27.tar.gz
newlib-f3afe99b0b8de188814ae7e7f841d2566532ef27.tar.bz2
* 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.cc')
-rw-r--r--winsup/cygwin/dtable.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index be3e0da..7b8e827 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -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);