5 Sep
2002
5 Sep
'02
10:38 p.m.
"Alastair Reid" <alastair@reid-consulting-uk.ltd.uk> 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