#1198: Windows: hWaitForInput returns False for file handles
-------------------------------+--------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: low | Milestone: 6.8
Component: libraries/base | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Windows | Testcase: readwrite002
Architecture: Unknown |
-------------------------------+--------------------------------------------
Changes (by simonmar):
* milestone: 6.6.2 => 6.8
* priority: normal => low
* summary: readwrite002.exe: readwrite002.inout: hWaitForInput: invalid
argument (Invalid argument) => Windows:
hWaitForInput returns False for file handles
* owner: simonmar =>
Comment:
Partial fix:
{{{
Thu Aug 30 06:11:15 PDT 2007 Simon Marlow <[EMAIL PROTECTED]>
* make hWaitForInput/hReady not fail with "invalid argument" on Windows
}}}
Unfortunately `inputReady()` now returns False for file handles on
Windows, and hence neither `hReady` nor `hWaitForInput` work properly for
file handles on Windows. I'm changing the bug to reflect that.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1198>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs