diff options
author | Christopher Faylor <me@cgf.cx> | 2006-03-16 02:57:37 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-03-16 02:57:37 +0000 |
commit | 974f27a51acaa16269541985e22ee7590ba49670 (patch) | |
tree | 88561981b54b1c8012c6b9ed255b54cffe78bef1 /winsup/cygwin/fhandler_console.cc | |
parent | 490cfb83e99515e5b5573ab74d73f15c582da1b6 (diff) | |
download | cygnal-974f27a51acaa16269541985e22ee7590ba49670.tar.gz cygnal-974f27a51acaa16269541985e22ee7590ba49670.tar.bz2 cygnal-974f27a51acaa16269541985e22ee7590ba49670.zip |
* cygheap.cc (init_cygheap::manage_console_count): Turn console control handler
on/off depending on whether we have allocated a console or not.
* dcrt0.cc (child_info_fork::fork_retry): Add more potential retry statuses.
(dll_crt0_0): Turn on/off console control depending on whether we have a
controlling tty or not.
* exceptions.cc (init_console_handler): Change BOOL to bool.
* fhandler_console.cc (fhandler_console::need_invisible): Cosmetic change.
* winsup.h (init_console_handler): Reflect argument type change.
* wincap.h (supports_setconsolectrlhandler_null): Remove duplicate capability
throughout.
* wincap.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index e3af92438..23f2cf8e7 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -1885,9 +1885,7 @@ fhandler_console::need_invisible () failed */ debug_printf ("h %p, horig %p, flags %p", h, horig, oi.dwFlags); if (horig && h && h != horig && SetProcessWindowStation (horig)) - { - CloseWindowStation (h); - } + CloseWindowStation (h); termios_printf ("%d = AllocConsole (), %E", b); invisible_console = true; } |