Commit c6e14bbd5d404d147504acdd74c3fd17d5ef1088

Pádraig Brady 2014-06-10T23:31:39

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.