From 46ee54222e0b68f87d541dd26026ec9bc649afed Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 17 Jan 2004 03:47:27 +0000 Subject: * fhandler_console.cc (fhandler_console::close): Remove obsolete test for vfork_cleanup. * pipe.cc (fhandler_pipe::close): Add comment. --- winsup/cygwin/pipe.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/pipe.cc') 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 ()) -- cgit v1.2.3