ghc-5.02 refuses to open a device file

Simon Marlow [email protected]
Tue, 18 Dec 2001 10:42:39 -0000


> I guess it's a [mis]feature, since 5.00 worked, but can hardly
> imagine anybody could need it.
>=20
> =3D=3D=3D=3D=3D=3D=3D
> 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>
> =3D=3D=3D=3D=3D=3D=3D

Thanks; will be fixed in 5.02.2.

Cheers,
	Simon