Problem with handles in GHC from CVS

Wolfgang Thaller wolfgang.thaller at gmx.net
Sun Jan 23 15:22:55 EST 2005


> The temporary file is
> created but it is empty. It seems like the stdout/stderr handles are
> flushed in GHC.TopHandler.runMainIO but only if the program terminates
> without exception.

Should be fixed now; when terminating using exitWith, the handles are 
now flushed.
Note that they are still not flushed for other exceptions.

Cheers,

Wolfgang



More information about the Glasgow-haskell-users mailing list