* 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.
This commit is contained in:
Corinna Vinschen
2009-05-09 15:56:37 +00:00
parent a22af4a956
commit 9b98d6a8fb
4 changed files with 96 additions and 3 deletions

View File

@@ -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
};