summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-30 02:52:14 +0000
committerChristopher Faylor <me@cgf.cx>2005-06-30 02:52:14 +0000
commit5b3e1f7358338fa4fe7223fb34df9a06fda7e97c (patch)
tree8627ea790d932d24c96ba83d8cfac61d59560126 /winsup/cygwin/dcrt0.cc
parentd573a471af3908faf346e61d51e04944ca33a38e (diff)
downloadcygnal-5b3e1f7358338fa4fe7223fb34df9a06fda7e97c.tar.gz
cygnal-5b3e1f7358338fa4fe7223fb34df9a06fda7e97c.tar.bz2
cygnal-5b3e1f7358338fa4fe7223fb34df9a06fda7e97c.zip
* cygerrno.h: Make multi-inclusion safe.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Deal with EINTR. * dcrt0.cc (dll_crt0_0): Accommodate init_console_handler argument change. * winsup.h: Ditto. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. * exceptions.cc (init_console_handler): Ditto. Ignore console events if we're not attached to a terminal. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. * wincap.cc: Implement has_null_console_handler_routine throughout. * wincap.h: Ditto.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index b119ba201..415444682 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -636,7 +636,7 @@ dll_crt0_0 ()
wincap.init ();
initial_env ();
- init_console_handler ();
+ init_console_handler (TRUE);
init_global_security ();
if (!DuplicateHandle (GetCurrentProcess (), GetCurrentProcess (),
GetCurrentProcess (), &hMainProc, 0, FALSE,