[GHC] #2971: readFile "/proc/mounts" hangs on an amd64 machine
GHC
trac at galois.com
Mon Feb 9 05:19:21 EST 2009
#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 <marlowsd at gmail.com>
* 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
More information about the Glasgow-haskell-bugs
mailing list