cvs commit: fptools/ghc/rts RtsStartup.cfptools/libraries/base/include HsBase.h fptools/libraries/base/System/Posix Internals.hs

Simon Marlow simonmar at glass.cse.ogi.edu
Wed Sep 24 04:32:13 EDT 2003


simonmar    2003/09/24 03:32:13 PDT

  Modified files:
    ghc/rts              RtsStartup.c 
    libraries/base/include HsBase.h 
    libraries/base/System/Posix Internals.hs 
  Log:
  If we change the terminal settings as a result of hSetBuffering or
  hSetEcho, then restore them again in hs_exit().  This is just good
  citizenship on Unixy platforms.
  
  We *don't* just automatically save the terminal settings and restore
  them at the end, because that would prevent implementing stty-like
  programs in Haskell.  This scheme is a compromise that hopefully DTRT
  in most cases.
  
  Revision  Changes    Path
  1.76      +35 -1     fptools/ghc/rts/RtsStartup.c
  1.28      +6 -1      fptools/libraries/base/include/HsBase.h
  1.8       +34 -28    fptools/libraries/base/System/Posix/Internals.hs


More information about the Cvs-libraries mailing list