aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-03-27 15:58:29 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-03-27 15:58:29 +0000
commit0a55192fc318fe6403903b731c487942bcc40d83 (patch)
tree615da9c2ab103bd4506b2b5b7287aecad59e7ec7
parent7d6a2ca15dbd912cb021e6a47d7b4dd57be58af2 (diff)
downloadnewlib-0a55192fc318fe6403903b731c487942bcc40d83.zip
newlib-0a55192fc318fe6403903b731c487942bcc40d83.tar.gz
newlib-0a55192fc318fe6403903b731c487942bcc40d83.tar.bz2
* fhandler_console.cc
(fhandler_console::create_invisible_console_workaround): Fix comment. * wincap.cc: Throughout, remove unused has_console_handle_problem wincapc members. * wincap.h (struct wincaps): Remove has_console_handle_problem.
-rw-r--r--winsup/cygwin/ChangeLog.64bit8
-rw-r--r--winsup/cygwin/fhandler_console.cc2
-rw-r--r--winsup/cygwin/wincap.cc5
-rw-r--r--winsup/cygwin/wincap.h2
4 files changed, 9 insertions, 8 deletions
diff --git a/winsup/cygwin/ChangeLog.64bit b/winsup/cygwin/ChangeLog.64bit
index 09ec2f3..089777b 100644
--- a/winsup/cygwin/ChangeLog.64bit
+++ b/winsup/cygwin/ChangeLog.64bit
@@ -1,5 +1,13 @@
2013-03-27 Corinna Vinschen <corinna@vinschen.de>
+ * fhandler_console.cc
+ (fhandler_console::create_invisible_console_workaround): Fix comment.
+ * wincap.cc: Throughout, remove unused has_console_handle_problem
+ wincapc members.
+ * wincap.h (struct wincaps): Remove has_console_handle_problem.
+
+2013-03-27 Corinna Vinschen <corinna@vinschen.de>
+
* net.cc (cygwin_gethostbyname): Revert accidental checkin of change
added for debugging.
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index a142d90..7e7b6cf 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -2366,7 +2366,7 @@ fhandler_console::create_invisible_console (HWINSTA horig)
return b;
}
-/* Ugly workaround for Windows 7.
+/* Ugly workaround for Windows 7 and later.
First try to just attach to any console which may have started this
app. If that works use this as our "invisible console".
diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc
index 26b55aa..f5339ad 100644
--- a/winsup/cygwin/wincap.cc
+++ b/winsup/cygwin/wincap.cc
@@ -37,7 +37,6 @@ wincaps wincap_xpsp2 __attribute__((section (".cygwin_dll_common"), shared)) = {
has_transactions:false,
has_sendmsg:false,
has_broken_udf:true,
- has_console_handle_problem:false,
has_broken_alloc_console:false,
has_always_all_codepages:false,
has_localenames:false,
@@ -64,7 +63,6 @@ wincaps wincap_2003 __attribute__((section (".cygwin_dll_common"), shared)) = {
has_transactions:false,
has_sendmsg:false,
has_broken_udf:true,
- has_console_handle_problem:false,
has_broken_alloc_console:false,
has_always_all_codepages:false,
has_localenames:false,
@@ -91,7 +89,6 @@ wincaps wincap_vista __attribute__((section (".cygwin_dll_common"), shared)) = {
has_transactions:true,
has_sendmsg:true,
has_broken_udf:false,
- has_console_handle_problem:false,
has_broken_alloc_console:false,
has_always_all_codepages:true,
has_localenames:true,
@@ -118,7 +115,6 @@ wincaps wincap_7 __attribute__((section (".cygwin_dll_common"), shared)) = {
has_transactions:true,
has_sendmsg:true,
has_broken_udf:false,
- has_console_handle_problem:true,
has_broken_alloc_console:true,
has_always_all_codepages:true,
has_localenames:true,
@@ -145,7 +141,6 @@ wincaps wincap_8 __attribute__((section (".cygwin_dll_common"), shared)) = {
has_transactions:true,
has_sendmsg:true,
has_broken_udf:false,
- has_console_handle_problem:true,
has_broken_alloc_console:true,
has_always_all_codepages:true,
has_localenames:true,
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h
index 6ef9bc6..6184d02 100644
--- a/winsup/cygwin/wincap.h
+++ b/winsup/cygwin/wincap.h
@@ -27,7 +27,6 @@ struct wincaps
unsigned has_transactions : 1;
unsigned has_sendmsg : 1;
unsigned has_broken_udf : 1;
- unsigned has_console_handle_problem : 1;
unsigned has_broken_alloc_console : 1;
unsigned has_always_all_codepages : 1;
unsigned has_localenames : 1;
@@ -76,7 +75,6 @@ public:
bool IMPLEMENT (has_transactions)
bool IMPLEMENT (has_sendmsg)
bool IMPLEMENT (has_broken_udf)
- bool IMPLEMENT (has_console_handle_problem)
bool IMPLEMENT (has_broken_alloc_console)
bool IMPLEMENT (has_always_all_codepages)
bool IMPLEMENT (has_localenames)