[project @ 2001-06-01 13:06:01 by sewardj]
authorsewardj <unknown>
Fri, 1 Jun 2001 13:06:01 +0000 (13:06 +0000)
committersewardj <unknown>
Fri, 1 Jun 2001 13:06:01 +0000 (13:06 +0000)
commit4f3c6654c08dd84bdabb8a9cac7dfa8a64a5d9ae
treef5d6a074825c1db4ce0cdab6de56832f032e0e59
parenta76dd9ee7fc30bd67ac21acf24e3f6adf40c59c3
[project @ 2001-06-01 13:06:01 by sewardj]
More fixups to make the new IO lib work on mingw.
* Outlaw changing the file position on a text-mode file.  After
  consideration of the mingw translation semantics I cannot see
  how to make a correct implementation.
* Add a field to Handle__ to say whether or not the handle is in
  binary mode.
* Restrict seek operations on Handles to those in binary mode.
* Export hSetBinaryMode from IO.lhs.
ghc/lib/std/IO.lhs
ghc/lib/std/PrelHandle.hsc
ghc/lib/std/PrelIOBase.lhs