summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/pipe.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-01-17 03:47:27 +0000
committerChristopher Faylor <me@cgf.cx>2004-01-17 03:47:27 +0000
commit46ee54222e0b68f87d541dd26026ec9bc649afed (patch)
treec0a4ab40c0f8f2b826617308ac6e0815e347001e /winsup/cygwin/pipe.cc
parent49d0c04260e7bca17cdaf48c5cc4dffea5e312ab (diff)
downloadcygnal-46ee54222e0b68f87d541dd26026ec9bc649afed.tar.gz
cygnal-46ee54222e0b68f87d541dd26026ec9bc649afed.tar.bz2
cygnal-46ee54222e0b68f87d541dd26026ec9bc649afed.zip
* fhandler_console.cc (fhandler_console::close): Remove obsolete test for
vfork_cleanup. * pipe.cc (fhandler_pipe::close): Add comment.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r--winsup/cygwin/pipe.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc
index 242556ad6..abc9a81a3 100644
--- a/winsup/cygwin/pipe.cc
+++ b/winsup/cygwin/pipe.cc
@@ -89,6 +89,9 @@ fhandler_pipe::close ()
CloseHandle (guard);
if (writepipe_exists)
CloseHandle (writepipe_exists);
+ // FIXME is this vfork_cleanup test right? Is it responsible for some of
+ // the strange pipe behavior that has been reported in the cygwin mailing
+ // list?
if (read_state && !cygheap->fdtab.in_vfork_cleanup ())
CloseHandle (read_state);
if (get_handle ())