From 5b3e1f7358338fa4fe7223fb34df9a06fda7e97c Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 30 Jun 2005 02:52:14 +0000 Subject: * 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. --- winsup/cygwin/fhandler_tty.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/fhandler_tty.cc') diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index a31fe6244..3d3cab5a2 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -591,7 +591,7 @@ fhandler_tty_slave::open (int flags, mode_t) // stuff fails termios_printf ("%d = AllocConsole (), %E", b); if (b) - init_console_handler (); + init_console_handler (TRUE); } // FIXME: Do this better someday -- cgit v1.2.3