Problem reading files...

Sven Panne Sven.Panne at informatik.uni-muenchen.de
Mon Feb 12 16:52:16 EST 2001


> Andre W B Furtado wrote:
> [ EOF at Ctrl-Z problem ]

Sounds like you're using WinDoze which interprets Ctrl-Z as EOF in
non-binary files IIRC (great idea, BTW! :-}. Alas, you have to use
non-standard features (openFileEx or hSetBinaryMode) to get around
this, see:

   http://www.haskell.org/ghc/docs/latest/set/sec-ioexts.html#AEN8657

Cheers,
   Sven




More information about the Glasgow-haskell-bugs mailing list