"Alastair Reid" <[EMAIL PROTECTED]> writes:
> 
> Running 'hClose stdout' twice in a row causes Hugs to abort:
> 
  ...
> IO> hPutStr stdout "abcde" >> hClose stdout
> abcde
> IO> hPutStr stdout "abcde" >> hClose stdout
> 
> Unexpected signal
> 

Thanks for the report - the repeated closing isn't the problem,
but the handle you're trying to close. I've modified IO.hClose
to treat closing of any of the standard handles as a nop.

--sigbjorn


_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to