cvs commit: fptools/libraries/base/GHC Handle.hs IOBase.lhs fptools/libraries/base/System/Posix Internals.hs

Sigbjorn Finne sof at haskell.org
Fri Jul 8 13:17:32 EDT 2005


sof         2005/07/08 10:17:32 PDT

  Modified files:
    libraries/base/GHC   Handle.hs IOBase.lhs 
    libraries/base/System/Posix Internals.hs 
  Log:
  - System.Posix.Internals.FDType.RawDevice: new constructor.
  - System.Posix.Internals.fdType: map block devices to RawDevice
    (but left character devices as still being Streams).
  - GHC.IOBase.isReadWriteHandleType: new HandleType predicate.
  - GHC.Handle.hIsSeekable: RawDevices are seekable.
  - GHC.Handle.openFd: handle RawDevices.
     => opening of block devices via std IO opening actions
        (open{Binary}File, openFd etc.) should now work better.
  
  Merge to STABLE.
  
  Revision  Changes    Path
  1.54      +12 -8     fptools/libraries/base/GHC/Handle.hs
  1.50      +4 -1      fptools/libraries/base/GHC/IOBase.lhs
  1.26      +3 -1      fptools/libraries/base/System/Posix/Internals.hs


More information about the Cvs-libraries mailing list