[GHC] #1994: Data.ByteStirng.Lazy.hGetContents doesn't unlock
i-node
GHC
trac at galois.com
Thu Dec 20 01:14:11 EST 2007
#1994: Data.ByteStirng.Lazy.hGetContents doesn't unlock i-node
-------------------------------+--------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: libraries (other) | Version: 6.8.2
Severity: normal | Resolution: fixed
Keywords: lazy IO | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Linux |
-------------------------------+--------------------------------------------
Changes (by dons):
* keywords: => lazy IO
* status: new => closed
* resolution: => fixed
* architecture: x86 => Multiple
* cc: dons at galois.com (added)
Comment:
I'm not sure how we missed this, but yes, the lazy bytestring lazy IO
operations weren't finalizing the resource once EOF was encountered. I've
pushed a patch to fix this, and your test programs now work.
Can you confirm that with the latest darcs repository, your code now
works?
darcs get http://darcs.haskell.org/bytestring
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1994#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list