base: Fix fdReady() potentially running forever for Windows Char devices.
authorNiklas Hamb├╝chen <mail@nh2.me>
Tue, 19 Sep 2017 19:10:31 +0000 (15:10 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 19 Sep 2017 19:58:45 +0000 (15:58 -0400)
commit826c3b11780abcb74e5aba987e16369d69ac79a5
tree256258509e0fea23f36c38089a7aaca213927f56
parentc2a1fa7aec426727be6df79f3db109183e42cfdc
base: Fix fdReady() potentially running forever for Windows Char devices.

Reviewers: bgamari, austin, hvr

Reviewed By: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3955
libraries/base/cbits/inputReady.c