Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-03-16 05:57:37 +0300
committerChristopher Faylor <me@cgf.cx>2006-03-16 05:57:37 +0300
commit974f27a51acaa16269541985e22ee7590ba49670 (patch)
tree88561981b54b1c8012c6b9ed255b54cffe78bef1 /winsup/cygwin/exceptions.cc
parent490cfb83e99515e5b5573ab74d73f15c582da1b6 (diff)
* 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/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 60c1d1783..53294cd63 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -100,7 +100,7 @@ dummy_ctrl_c_handler (DWORD dwCtrlType)
}
void
-init_console_handler (BOOL install_handler)
+init_console_handler (bool install_handler)
{
BOOL res;
while (SetConsoleCtrlHandler (ctrl_c_handler, FALSE))