RE: ghc-5.02 refuses to open a device file

18 Dec
2001
18 Dec
'01
5:42 a.m.
I guess it's a [mis]feature, since 5.00 worked, but can hardly imagine anybody could need it.
======= Prelude> h<-IO.openFile "/dev/zero" IO.ReadMode *** Exception: unsupported operation Action: openFile Reason: unknown file type File: /dev/rtf0 Prelude> Leaving GHCi. max@max$cat /dev/zero <C-C> =======
Thanks; will be fixed in 5.02.2. Cheers, Simon
8559
Age (days ago)
8559
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow