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/wincap.cc | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'winsup/cygwin/wincap.cc') diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 0d0404702..a062c2ac2 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -58,7 +58,8 @@ static NO_COPY wincaps wincap_unknown = { start_proc_suspended:true, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:true + detect_win16_exe:true, + has_null_console_handler_routine:false }; static NO_COPY wincaps wincap_95 = { @@ -108,7 +109,8 @@ static NO_COPY wincaps wincap_95 = { start_proc_suspended:true, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:true + detect_win16_exe:true, + has_null_console_handler_routine:false }; static NO_COPY wincaps wincap_95osr2 = { @@ -158,7 +160,8 @@ static NO_COPY wincaps wincap_95osr2 = { start_proc_suspended:true, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:true + detect_win16_exe:true, + has_null_console_handler_routine:false }; static NO_COPY wincaps wincap_98 = { @@ -208,7 +211,8 @@ static NO_COPY wincaps wincap_98 = { start_proc_suspended:true, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:true + detect_win16_exe:true, + has_null_console_handler_routine:false }; static NO_COPY wincaps wincap_98se = { @@ -258,7 +262,8 @@ static NO_COPY wincaps wincap_98se = { start_proc_suspended:true, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:true + detect_win16_exe:true, + has_null_console_handler_routine:false }; static NO_COPY wincaps wincap_me = { @@ -308,7 +313,8 @@ static NO_COPY wincaps wincap_me = { start_proc_suspended:true, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:true + detect_win16_exe:true, + has_null_console_handler_routine:false }; static NO_COPY wincaps wincap_nt3 = { @@ -358,7 +364,8 @@ static NO_COPY wincaps wincap_nt3 = { start_proc_suspended:false, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:false + detect_win16_exe:false, + has_null_console_handler_routine:true }; static NO_COPY wincaps wincap_nt4 = { @@ -408,7 +415,8 @@ static NO_COPY wincaps wincap_nt4 = { start_proc_suspended:false, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:false + detect_win16_exe:false, + has_null_console_handler_routine:true }; static NO_COPY wincaps wincap_nt4sp4 = { @@ -458,7 +466,8 @@ static NO_COPY wincaps wincap_nt4sp4 = { start_proc_suspended:false, has_extended_priority_class:false, has_guid_volumes:false, - detect_win16_exe:false + detect_win16_exe:false, + has_null_console_handler_routine:true }; static NO_COPY wincaps wincap_2000 = { @@ -508,7 +517,8 @@ static NO_COPY wincaps wincap_2000 = { start_proc_suspended:false, has_extended_priority_class:true, has_guid_volumes:true, - detect_win16_exe:false + detect_win16_exe:false, + has_null_console_handler_routine:true }; static NO_COPY wincaps wincap_xp = { @@ -558,7 +568,8 @@ static NO_COPY wincaps wincap_xp = { start_proc_suspended:false, has_extended_priority_class:true, has_guid_volumes:true, - detect_win16_exe:false + detect_win16_exe:false, + has_null_console_handler_routine:true }; static NO_COPY wincaps wincap_2003 = { @@ -608,7 +619,8 @@ static NO_COPY wincaps wincap_2003 = { start_proc_suspended:false, has_extended_priority_class:true, has_guid_volumes:true, - detect_win16_exe:false + detect_win16_exe:false, + has_null_console_handler_routine:true }; wincapc wincap; -- cgit v1.2.3