[Zlib-devel] stored-block size limit?

Jean-loup Gailly jloup at gzip.org
Tue Apr 9 13:17:02 EDT 2002


[Trying to catchup on old emails...]

> The zlib technical details page claims that deflation adds at most five 
> bytes per 32K.  zlib.h claims that you can deflate in a single step if 
> you provide 0.1% more output space than the input, plus 12 bytes.  Both 
> are wrong.

Ok. Can you suggest specific patches, to both the text and the code?

> 2. If windowBits is less than memLevel + 6, then deflate appears to 
> refuse to use stored blocks at all!

That's indeed a bug. I'll look into it unless you can send patches
for this one too.

Jean-loup

PS: this is test number 2 of switch back to zlib-devel at zlib.org




More information about the Zlib-devel mailing list