From 41ffdfa51e938fc7370bc88cb9451760bdb33f9b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 13 Mar 2003 23:11:38 +0000 Subject: * include/cygwin/version.h: Bump DLL minor number to 23. --- winsup/cygwin/fhandler_console.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/fhandler_console.cc') 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; } -- cgit v1.2.3