On Fri, Jul 24, 2009 at 10:01:05AM +0200, Joachim Breitner wrote:
>> I believe the reason Darcs' zlib dependency was bumped to 0.5.1 is
>> because 0.5.0 has known problems with CRC (checksums) -- either
>> generating bad ones, or failing to detect/repair bad ones.
>>
>> I can dig up the exact details if you want.
>
> Don’t worry, I believe that darcs’ dependency is there for a good
> reason.

For the record, here's what Ganesh had to say about why Darcs' zlib
dependency was bumped:

> zlib 0.5.0.0 is not buggy. Darcs was previously buggy in that it
> sometimes wrote out .gz files with bad checksums and then happily
> read them back in without checking, so the bug wasn't spotted for a
> long time, leaving a significant number of files in repos that had
> this corrupt checksum (but were otherwise fine). zlib perfectly
> legitimiately refused to read them in, making it unsuitable for use
> as the default zlib binding for darcs. zlib 0.5.2.0 adds an
> interface to allow clients to be informed of the broken checksums
> but still continue, which darcs makes use of to warn the user to run
> the new darcs gzcrcs' command to repair them.

In other words, if Darcs 2.3 was built against zlib 0.5.0, it would
not work with some repositories made by older Darcses.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to