[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.,
[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.

mettekou/ghc,acowley/ghc,christiaanb/ghc,frantisekfarka/ghc-dsi,tibbe/ghc,nathyong/microghc-ghc,tjakway/ghcjvm,lukexi/ghc,holzensp/ghc,da-x/ghc,olsner/ghc,jstolarek/ghc,lukexi/ghc-7.8-arm64,mcmaniac/ghc,GaloisInc/halvm-ghc,shlevy/ghc,ezyang/ghc,nathyong/microghc-ghc,siddhanathan/ghc,snoyberg/ghc,forked-upstream-packages-for-ghcjs/ghc,sdiehl/ghc,forked-upstream-packages-for-ghcjs/ghc,gcampax/ghc,anton-dessiatov/ghc,gridaphobe/ghc,elieux/ghc,acowley/ghc,nkaretnikov/ghc,shlevy/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,christiaanb/ghc,spacekitteh/smcghc,ezyang/ghc,oldmanmike/ghc,gridaphobe/ghc,mcschroeder/ghc,fmthoma/ghc,mettekou/ghc,christiaanb/ghc,mettekou/ghc,oldmanmike/ghc,gcampax/ghc,mfine/ghc,jstolarek/ghc,shlevy/ghc,TomMD/ghc,vTurbine/ghc,fmthoma/ghc,gcampax/ghc,nkaretnikov/ghc,vTurbine/ghc,hferreiro/replay,TomMD/ghc,urbanslug/ghc,snoyberg/ghc,urbanslug/ghc,AlexanderPankiv/ghc,elieux/ghc,frantisekfarka/ghc-dsi,elieux/ghc,TomMD/ghc,mcmaniac/ghc,nkaretnikov/ghc,tjakway/ghcjvm,tjakway/ghcjvm,lukexi/ghc-7.8-arm64,hferreiro/replay,elieux/ghc,gcampax/ghc,nkaretnikov/ghc,mfine/ghc,acowley/ghc,ezyang/ghc,mettekou/ghc,siddhanathan/ghc,acowley/ghc,mfine/ghc,TomMD/ghc,hferreiro/replay,shlevy/ghc,acowley/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,snoyberg/ghc,frantisekfarka/ghc-dsi,ghc-android/ghc,acowley/ghc,wxwxwwxxx/ghc,gridaphobe/ghc,ryantm/ghc,bitemyapp/ghc,spacekitteh/smcghc,anton-dessiatov/ghc,wxwxwwxxx/ghc,christiaanb/ghc,mcschroeder/ghc,fmthoma/ghc,ml9951/ghc,mettekou/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,vikraman/ghc,nushio3/ghc,AlexanderPankiv/ghc,ekmett/ghc,anton-dessiatov/ghc,vikraman/ghc,tibbe/ghc,acowley/ghc,ml9951/ghc,oldmanmike/ghc,nathyong/microghc-ghc,ml9951/ghc,gcampax/ghc,da-x/ghc,nkaretnikov/ghc,shlevy/ghc,ghc-android/ghc,mettekou/ghc,tibbe/ghc,shlevy/ghc,lukexi/ghc-7.8-arm64,bitemyapp/ghc,lukexi/ghc,ilyasergey/GHC-XAppFix,tjakway/ghcjvm,da-x/ghc,sdiehl/ghc,ezyang/ghc,AlexanderPankiv/ghc,mfine/ghc,AlexanderPankiv/ghc,ezyang/ghc,nushio3/ghc,nushio3/ghc,spacekitteh/smcghc,nomeata/ghc,siddhanathan/ghc,lukexi/ghc-7.8-arm64,siddhanathan/ghc,elieux/ghc,vikraman/ghc,gridaphobe/ghc,nkaretnikov/ghc,mcschroeder/ghc,jstolarek/ghc,GaloisInc/halvm-ghc,spacekitteh/smcghc,oldmanmike/ghc,mcschroeder/ghc,urbanslug/ghc,olsner/ghc,snoyberg/ghc,wxwxwwxxx/ghc,elieux/ghc,ekmett/ghc,nomeata/ghc,mfine/ghc,green-haskell/ghc,nushio3/ghc,nathyong/microghc-ghc,shlevy/ghc,snoyberg/ghc,tjakway/ghcjvm,mcschroeder/ghc,ryantm/ghc,sgillespie/ghc,ezyang/ghc,vikraman/ghc,vikraman/ghc,holzensp/ghc,vTurbine/ghc,green-haskell/ghc,lukexi/ghc,GaloisInc/halvm-ghc,oldmanmike/ghc,sdiehl/ghc,ryantm/ghc,vikraman/ghc,hferreiro/replay,mcmaniac/ghc,ekmett/ghc,GaloisInc/halvm-ghc,nathyong/microghc-ghc,anton-dessiatov/ghc,da-x/ghc,ghc-android/ghc,wxwxwwxxx/ghc,anton-dessiatov/ghc,urbanslug/ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,ilyasergey/GHC-XAppFix,hferreiro/replay,ilyasergey/GHC-XAppFix,mfine/ghc,gridaphobe/ghc,nomeata/ghc,mcmaniac/ghc,gcampax/ghc,sdiehl/ghc,tibbe/ghc,siddhanathan/ghc,spacekitteh/smcghc,christiaanb/ghc,ekmett/ghc,green-haskell/ghc,snoyberg/ghc,olsner/ghc,tjakway/ghcjvm,mettekou/ghc,vTurbine/ghc,da-x/ghc,green-haskell/ghc,frantisekfarka/ghc-dsi,nkaretnikov/ghc,ml9951/ghc,mfine/ghc,wxwxwwxxx/ghc,sgillespie/ghc,urbanslug/ghc,olsner/ghc,jstolarek/ghc,nathyong/microghc-ghc,ghc-android/ghc,sdiehl/ghc,nushio3/ghc,olsner/ghc,snoyberg/ghc,hferreiro/replay,TomMD/ghc,tjakway/ghcjvm,lukexi/ghc,christiaanb/ghc,olsner/ghc,gridaphobe/ghc,holzensp/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,vTurbine/ghc,tibbe/ghc,anton-dessiatov/ghc,fmthoma/ghc,forked-upstream-packages-for-ghcjs/ghc,hferreiro/replay,vTurbine/ghc,GaloisInc/halvm-ghc,ml9951/ghc,ml9951/ghc,sgillespie/ghc,sdiehl/ghc,ml9951/ghc,holzensp/ghc,sdiehl/ghc,ryantm/ghc,mcmaniac/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,oldmanmike/ghc,olsner/ghc,urbanslug/ghc,AlexanderPankiv/ghc,ezyang/ghc,frantisekfarka/ghc-dsi,christiaanb/ghc,fmthoma/ghc,oldmanmike/ghc,nomeata/ghc,TomMD/ghc,bitemyapp/ghc,sgillespie/ghc,green-haskell/ghc,forked-upstream-packages-for-ghcjs/ghc,holzensp/ghc,ghc-android/ghc,da-x/ghc,siddhanathan/ghc,sgillespie/ghc,gcampax/ghc,ryantm/ghc,lukexi/ghc-7.8-arm64,ghc-android/ghc,fmthoma/ghc,nushio3/ghc,fmthoma/ghc,bitemyapp/ghc,ghc-android/ghc,ekmett/ghc,mcschroeder/ghc,urbanslug/ghc,ilyasergey/GHC-XAppFix,AlexanderPankiv/ghc,siddhanathan/ghc,sgillespie/ghc,lukexi/ghc,sgillespie/ghc,bitemyapp/ghc,wxwxwwxxx/ghc,vikraman/ghc,jstolarek/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,gridaphobe/ghc,elieux/ghc,nomeata/ghc,da-x/ghc