simonmar    2005/01/26 04:58:13 PST

  Modified files:
    ghc/compiler/ghci    InteractiveUI.hs 
  Log:
  fileLoop: catch InvalidArgument and behave as for EOF (i.e. terminate
  the session).  This means that the user can close stdin to end a GHCi
  session, but it also means that the tests that run programs which use
  getContents inside GHCi won't crash because stdin has been closed.
  
  Revision  Changes    Path
  1.184     +10 -3     fptools/ghc/compiler/ghci/InteractiveUI.hs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to