From: Pádraig Brady
Date: Tue, 10 Jun 2014 22:31:39 +0000 (+0100) Subject: select,poll: fix console handle check on windows 8 X-Git-Tag: v1.0~7356 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=c6e14bbd5d404d147504acdd74c3fd17d5ef1088;p=gnulib.git select,poll: fix console handle check on windows 8 Similarly to commit a008d625 which fixed the obvious problem with isatty(), also apply the fix to the select() and poll() MS-Windows implementations. lib/poll.c (IsConsoleHandle): Change from testing the lower 2 bits of the handle to the more expensive but accurate syscall. lib/select.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index d2a42feb6c..0e179b1367 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-06-10 Pádraig Brady
+
+ select,poll: fix console handle check on windows 8
+ lib/poll.c (IsConsoleHandle): Change from testing the lower
+ 2 bits of the handle to the more expensive but accurate syscall.
+ lib/select.c: Likewise.
+
2014-06-10 Eli Zaretskii