On Thu, Mar 10, 2016 at 10:54 AM, Lluís Batlle i Rossell <[email protected]>
wrote:
> Oh, I see that the content_of_blob(rid=1864) fails to uncompress it with
> rc=-5 (MZ_BUF_ERROR).
>
interestingly... that's miniz, not libz.
Other than that, i'm as puzzled as you are. i hope this wasn't a miniz bug.
> Then, it does:
> if( rc!=Z_OK ){
> blob_reset(&temp);
> return 1;
> }
>
Is that right? Z_OK is a libz thing. Maybe miniz also defines it.
> Here is the complete diff of xxd dumps of the 14MB blobs. It seems that
> only a few bits where changed. Crazy.
>
All it takes is 1 bit to change the sha1 :/.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-dev mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev