From 9b98d6a8fbfcb2b9b9d4b9ebd452c100055258d2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 9 May 2009 15:56:37 +0000 Subject: * dtable.cc (dtable::init_std_file_from_handle): Add workaround for Windows 7 64 bit issue. Add lengthy comment to explain what happens. * wincap.h (wincaps::has_console_handle_problem): New element. * wincap.cc: Implement above element throughout. (wincap_7): New wincaps structure for NT 6.1 kernels. (wincapc::init): Set has_console_handle_problem to false for 32 bit systems. Fix broken older ChangeLog entry. --- winsup/cygwin/wincap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/wincap.h') diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index e3ab4d70d..c7097ab96 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -46,6 +46,7 @@ struct wincaps unsigned has_recvmsg : 1; unsigned has_sendmsg : 1; unsigned has_broken_udf : 1; + unsigned has_console_handle_problem : 1; }; class wincapc @@ -98,6 +99,7 @@ public: bool IMPLEMENT (has_recvmsg) bool IMPLEMENT (has_sendmsg) bool IMPLEMENT (has_broken_udf) + bool IMPLEMENT (has_console_handle_problem) #undef IMPLEMENT }; -- cgit v1.2.3