* 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:
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user