Subtle bug in Data.ByteString and/or GHC (perhaps)

Donald Bruce Stewart dons at
Mon Jun 18 21:16:20 EDT 2007

> On Tue, 05 Jun 2007, dons at (Donald Bruce Stewart) wrote:
> > I note that today we also had a report of a bug related to
> > non-evaluatoin of a check in 'binary', meaning an error condition
> > wouldn't be spotted, and a short-read value would be returned.  Possibly related.
> I tried the most recent darcs version of binary, and the problem
> appears to have been fixed, presumably by the patch replacing
> inlinePerformIO with unsafePerformIO.

There was also the fix related to a lazy 'when' not being evaluated.
It might have been that.

-- Don

More information about the Libraries mailing list