diff options
author | Christopher Faylor <me@cgf.cx> | 2006-03-22 03:20:28 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-03-22 03:20:28 +0000 |
commit | 76ef40d69f3651f01b3e2ffdeb470593d62e04b0 (patch) | |
tree | 22c20816ba49b39aae919e585cf2c88dc050bcf5 /winsup/cygwin/exceptions.cc | |
parent | ce93dfe4150ab537bfc55b834f933145e18098c0 (diff) | |
download | cygnal-76ef40d69f3651f01b3e2ffdeb470593d62e04b0.tar.gz cygnal-76ef40d69f3651f01b3e2ffdeb470593d62e04b0.tar.bz2 cygnal-76ef40d69f3651f01b3e2ffdeb470593d62e04b0.zip |
* child_info.h (child_status): Fix typo which made it impossible to set
iscygwin.
(child_info::isstraced): Booleanize.
(child_info::iscygwin): Ditto.
* sigproc.cc (child_info::child_info): Minor cleanup of flag setting.
* spawn.cc (spawn_guts): Only close_all_files when we know the process has
started successfully.
* exceptions.cc (init_console_handler): Fix indentation.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 279223e58..11058deef 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -104,9 +104,9 @@ init_console_handler (bool install_handler) { BOOL res; - SetConsoleCtrlHandler (ctrl_c_handler, FALSE); - if (wincap.has_null_console_handler_routine ()) - SetConsoleCtrlHandler (NULL, FALSE); + SetConsoleCtrlHandler (ctrl_c_handler, FALSE); + if (wincap.has_null_console_handler_routine ()) + SetConsoleCtrlHandler (NULL, FALSE); if (install_handler) res = SetConsoleCtrlHandler (ctrl_c_handler, TRUE); else if (wincap.has_null_console_handler_routine ()) |