cvs commit: fptools/ghc/lib/std IO.lhs PrelHandle.hsc PrelIOBase.lhs

Julian Seward sewardj@glass.cse.ogi.edu
Fri, 1 Jun 2001 06:06:02 -0700


sewardj     2001/06/01 06:06:02 PDT

  Modified files:
    ghc/lib/std          IO.lhs PrelHandle.hsc PrelIOBase.lhs 
  Log:
  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.
  
  Revision  Changes    Path
  1.42      +2 -1      fptools/ghc/lib/std/IO.lhs
  1.8       +57 -23    fptools/ghc/lib/std/PrelHandle.hsc
  1.42      +3 -1      fptools/ghc/lib/std/PrelIOBase.lhs