From 8d1d548fd8f5adffe39dabb55ba947f1721c1a33 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 26 Jun 2009 15:12:06 +0000 Subject: [PATCH] * wincap.h (wincaps::has_broken_alloc_console): New element. * wincap.cc: Implement above element throughout. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/wincap.cc | 11 +++++++++++ winsup/cygwin/wincap.h | 2 ++ 3 files changed, 18 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5e7eed084..f05d2c76a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-06-26 Corinna Vinschen + + * wincap.h (wincaps::has_broken_alloc_console): New element. + * wincap.cc: Implement above element throughout. + 2009-06-25 Corinna Vinschen * sec_auth.cc (lsaauth): Close unused handle. diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 14f5d4121..774925ec7 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -55,6 +55,7 @@ wincaps wincap_unknown __attribute__((section (".cygwin_dll_common"), shared)) = has_sendmsg:false, has_broken_udf:false, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_nt4 __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -92,6 +93,7 @@ wincaps wincap_nt4 __attribute__((section (".cygwin_dll_common"), shared)) = { has_sendmsg:false, has_broken_udf:false, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_nt4sp4 __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -129,6 +131,7 @@ wincaps wincap_nt4sp4 __attribute__((section (".cygwin_dll_common"), shared)) = has_sendmsg:false, has_broken_udf:false, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_2000 __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -166,6 +169,7 @@ wincaps wincap_2000 __attribute__((section (".cygwin_dll_common"), shared)) = { has_sendmsg:false, has_broken_udf:true, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_2000sp4 __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -203,6 +207,7 @@ wincaps wincap_2000sp4 __attribute__((section (".cygwin_dll_common"), shared)) = has_sendmsg:false, has_broken_udf:true, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_xp __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -240,6 +245,7 @@ wincaps wincap_xp __attribute__((section (".cygwin_dll_common"), shared)) = { has_sendmsg:false, has_broken_udf:true, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_xpsp1 __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -277,6 +283,7 @@ wincaps wincap_xpsp1 __attribute__((section (".cygwin_dll_common"), shared)) = { has_sendmsg:false, has_broken_udf:true, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_xpsp2 __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -314,6 +321,7 @@ wincaps wincap_xpsp2 __attribute__((section (".cygwin_dll_common"), shared)) = { has_sendmsg:false, has_broken_udf:true, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_2003 __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -351,6 +359,7 @@ wincaps wincap_2003 __attribute__((section (".cygwin_dll_common"), shared)) = { has_sendmsg:false, has_broken_udf:true, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_vista __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -388,6 +397,7 @@ wincaps wincap_vista __attribute__((section (".cygwin_dll_common"), shared)) = { has_sendmsg:true, has_broken_udf:false, has_console_handle_problem:false, + has_broken_alloc_console:false, }; wincaps wincap_7 __attribute__((section (".cygwin_dll_common"), shared)) = { @@ -425,6 +435,7 @@ wincaps wincap_7 __attribute__((section (".cygwin_dll_common"), shared)) = { has_sendmsg:true, has_broken_udf:false, has_console_handle_problem:true, + has_broken_alloc_console:true, }; wincapc wincap __attribute__((section (".cygwin_dll_common"), shared)); diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index c7097ab96..ed6eaa9c9 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -47,6 +47,7 @@ struct wincaps unsigned has_sendmsg : 1; unsigned has_broken_udf : 1; unsigned has_console_handle_problem : 1; + unsigned has_broken_alloc_console : 1; }; class wincapc @@ -100,6 +101,7 @@ public: bool IMPLEMENT (has_sendmsg) bool IMPLEMENT (has_broken_udf) bool IMPLEMENT (has_console_handle_problem) + bool IMPLEMENT (has_broken_alloc_console) #undef IMPLEMENT };