#2971: readFile "/proc/mounts" hangs on an amd64 machine
---------------------------------+------------------------------------------
    Reporter:  dsf               |        Owner:  igloo  
        Type:  merge             |       Status:  new    
    Priority:  high              |    Milestone:  6.10.2 
   Component:  Compiler          |      Version:  6.10.1 
    Severity:  critical          |   Resolution:         
    Keywords:                    |   Difficulty:  Unknown
    Testcase:                    |           Os:  Linux  
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * owner:  simonmar => igloo
  * type:  bug => merge

Comment:

 Fixed:

 {{{
 Fri Feb  6 16:59:12 GMT 2009  Simon Marlow <[email protected]>
   * Fix #2971: we had lost the non-blocking flag on Handles created by
 openFile
   This code is a mess, fortunately the new IO library cleans it up.
 }}}

 reading `/proc/mounts` works:

 {{{
 Prelude> readFile "/proc/mounts"
 "rootfs / rootfs rw 0 0\n/dev/root / ext3 ...
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2971#comment:11>
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

Reply via email to