diff options
author | Christopher Faylor <me@cgf.cx> | 2004-01-17 03:47:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-01-17 03:47:27 +0000 |
commit | 46ee54222e0b68f87d541dd26026ec9bc649afed (patch) | |
tree | c0a4ab40c0f8f2b826617308ac6e0815e347001e /winsup/cygwin/fhandler_console.cc | |
parent | 49d0c04260e7bca17cdaf48c5cc4dffea5e312ab (diff) | |
download | cygnal-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/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index af825defb..c1d8c9384 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -677,8 +677,7 @@ fhandler_console::close (void) CloseHandle (get_output_handle ()); set_io_handle (NULL); set_output_handle (NULL); - if (!cygheap->fdtab.in_vfork_cleanup () && --(cygheap->open_fhs) <= 0 - && myself->ctty != TTY_CONSOLE) + if (--(cygheap->open_fhs) <= 0 && myself->ctty != TTY_CONSOLE) { syscall_printf ("open_fhs %d", cygheap->open_fhs); FreeConsole (); |