[GHC] #1198: Windows: hWaitForInput returns False for file handles, and doesn't work properly for consoles

GHC trac at galois.com
Mon Jun 23 10:00:20 EDT 2008


#1198: Windows: hWaitForInput returns False for file handles, and doesn't work
properly for consoles
-------------------------------------+--------------------------------------
 Reporter:  igloo                    |          Owner:  simonmar
     Type:  bug                      |         Status:  new     
 Priority:  low                      |      Milestone:  6.10.1  
Component:  libraries/base           |        Version:  6.6     
 Severity:  normal                   |     Resolution:          
 Keywords:                           |     Difficulty:  Unknown 
 Testcase:  readwrite002, hReady001  |   Architecture:  Unknown 
       Os:  Windows                  |  
-------------------------------------+--------------------------------------
Comment (by Deewiant):

 `GetFileType` is probably what you want: http://msdn.microsoft.com/en-
 us/library/aa364960.aspx

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1198#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list