simon-svn: halibut: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Tue Feb 13 19:23:47 GMT 2007


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       7279
Date:           2007-02-13 19:23:47 +0000 (Tue, 13 Feb 2007)

Log message (6 lines):
When building the static Huffman tables, it's vital to include the
two unused entries at the end of the lit/len table (286 and 287),
because without them all the 9-bit codes are off by four. I can only
assume I hadn't noticed this before because no test file I've
compressed had both (a) contained byte values >= 0x90 and (b)
required a static block.

Modified files:
U   halibut/deflate.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=7279&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/halibut/deflate.c?rev=7279&r1=7278&r2=7279



More information about the tartarus-commits mailing list