[5.02/5.02.1] hGetContents problem
Simon Marlow
simonmar at microsoft.com
Wed Nov 14 07:44:03 EST 2001
> Am 14. Nov 2001 um 12:46 MET schrieb Simon Marlow:
> > Thanks, but I think I've fixed this now. If you have a
> local GHC build,
> > could you try out the patch included and let me know if it
> fixed things?
>
> Looks like it works. Does your previous comment about filehandles not
> being closed early apply to this patch as well?
No, the second patch doesn't have that problem. I checked the H98 defn,
and it appears that the implementation is required to close the Handle
as soon as all the data is read via hGetContents, not some time later.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list