patch applied (ghc): wrap Main.main in GHC.TopHandler.runIOFastExit

Simon Marlow simonmar at microsoft.com
Fri Jan 5 08:58:25 EST 2007


Fri Jan  5 03:46:08 PST 2007  Simon Marlow <simonmar at microsoft.com>
  * wrap Main.main in GHC.TopHandler.runIOFastExit
  This is so that exceptions raised by Main.main do exactly the same
  thing as they would in a compiled program, including writing the
  message to stderr and shutting down with the correct exit code.

    M ./utils/runghc/runghc.hs -1 +7



More information about the Cvs-ghc mailing list