[Haskell-cafe] Re: Does readFile "/proc/mounts" hang for you?

Ertugrul Soeylemez es at ertes.de
Wed Jan 21 17:27:32 EST 2009

David Fox <ddssff at gmail.com> wrote:

> I posted a bug about this
> (http://hackage.haskell.org/trac/ghc/ticket/2971) but its so odd I had
> to ask here.  Using ghc 6.10.1, both readFile "/proc/mounts" and
> Data.ByteString.Lazy.Char8.readFile "/proc/mounts" hang on an amd64
> machine running Linux.  Also, Data.ByteString.readFile "/proc/mounts"
> returns the empty string.  Is this behavior present for others?  On
> i386?

I can confirm this on Athlon64 X2 with GHC 6.10.1 running Linux 2.6.25.
Same behavior here.


nightmare = unsafePerformIO (getWrongWife >>= sex)

More information about the Haskell-Cafe mailing list