-
Simon Marlow authored
Fix a bug in hGetContents, namely that it wasn't closing the handle when the end of file was reached. Also tried to tidy the code up a bit while I was here.
ed898115
Fix a bug in hGetContents, namely that it wasn't closing the handle when the end of file was reached. Also tried to tidy the code up a bit while I was here.