cvs commit: hugs98/libraries/Hugs ConcBase.hs Exception.hs IO.hs IOExts.hs Prelude.hs hugs98/src connect.h dirprim.c iomonad.c timeprim.c type.c hugs98/tests/libs except1.output hugs98/tests/rts ioerror1.output primexc.hs

ross@glass.cse.ogi.edu ross@glass.cse.ogi.edu
Fri, 20 Dec 2002 09:56:24 -0800


ross        2002/12/20 09:56:23 PST

  Modified files:
    libraries/Hugs       ConcBase.hs Exception.hs IO.hs IOExts.hs 
                         Prelude.hs 
    src                  connect.h dirprim.c iomonad.c timeprim.c 
                         type.c 
    tests/libs           except1.output 
    tests/rts            ioerror1.output primexc.hs 
  Log:
  Change the IOError type to match the GHC version, and make all of
  System.IO.Error work with Hugs.  This involves
  
  * renaming some fields
  
  * replacing IOErrorKind with IOErrorType and the GHC names for the constants.
  
  * adding an ioe_handle field, with corresponding changes to mkIOError()
  
  * moving Handle to Hugs.Prelude
  
  * adding Show instances for Handle and HandlePosn (required by H98).
    The Handle instance is rather lame.
  
  Revision  Changes    Path
  1.6       +1 -1      hugs98/libraries/Hugs/ConcBase.hs
  1.4       +1 -1      hugs98/libraries/Hugs/Exception.hs
  1.5       +6 -53     hugs98/libraries/Hugs/IO.hs
  1.6       +1 -1      hugs98/libraries/Hugs/IOExts.hs
  1.15      +48 -33    hugs98/libraries/Hugs/Prelude.hs
  1.57      +2 -3      hugs98/src/connect.h
  1.14      +73 -37    hugs98/src/dirprim.c
  1.37      +141 -102  hugs98/src/iomonad.c
  1.7       +24 -16    hugs98/src/timeprim.c
  1.61      +12 -20    hugs98/src/type.c
  1.9       +3 -3      hugs98/tests/libs/except1.output
  1.8       +2 -2      hugs98/tests/rts/ioerror1.output
  1.4       +1 -1      hugs98/tests/rts/primexc.hs