diff options
author | Christopher Faylor <me@cgf.cx> | 2003-03-13 23:11:38 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-03-13 23:11:38 +0000 |
commit | 41ffdfa51e938fc7370bc88cb9451760bdb33f9b (patch) | |
tree | e70e6c10276b748ea5ecbda2293a078127b4e3ad /winsup/cygwin/fhandler_console.cc | |
parent | 5b186cd99961b2f60701dee128c9a58fcbd6d8e6 (diff) | |
download | cygnal-41ffdfa51e938fc7370bc88cb9451760bdb33f9b.tar.gz cygnal-41ffdfa51e938fc7370bc88cb9451760bdb33f9b.tar.bz2 cygnal-41ffdfa51e938fc7370bc88cb9451760bdb33f9b.zip |
* include/cygwin/version.h: Bump DLL minor number to 23.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 647f14585..6833bab67 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -649,7 +649,11 @@ fhandler_console::close (void) set_output_handle (NULL); if (!cygheap->fdtab.in_vfork_cleanup () && --open_fhs <= 0 && myself->ctty != FH_CONSOLE) - FreeConsole (); + { + syscall_printf ("open_fhs %d, freeing console", + fhandler_console::open_fhs); + FreeConsole (); + } debug_printf ("decremented open_fhs, now %d", open_fhs); return 0; } |