[project @ 1999-02-25 10:18:28 by sof]
authorsof <unknown>
Thu, 25 Feb 1999 10:18:28 +0000 (10:18 +0000)
committersof <unknown>
Thu, 25 Feb 1999 10:18:28 +0000 (10:18 +0000)
commitaef250c32e2ad2946b61cbc678907503073554db
tree7659cc90b51461db59b481b9f4ecfe73c30313c0
parent35f92df01dc4eb3c91beecccfdb9d28521ef2f98
[project @ 1999-02-25 10:18:28 by sof]
hClose: don't raise an exception when passed a handle that's already closed,
i.e.,

    h <- openFile "a" ReadMode >> hClose h >> hClose h

will now succeed (provided 'a' exists and is readable, of course.)
Repeated hClose's are just redundant.
ghc/lib/std/PrelHandle.lhs