aboutsummaryrefslogtreecommitdiff
path: root/contrib/puff/puff.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--contrib/puff/puff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/puff/puff.c b/contrib/puff/puff.c
index c6c90d7..6737ff6 100644
--- a/contrib/puff/puff.c
+++ b/contrib/puff/puff.c
@@ -43,7 +43,7 @@
43 * - Use pointers instead of long to specify source and 43 * - Use pointers instead of long to specify source and
44 * destination sizes to avoid arbitrary 4 GB limits 44 * destination sizes to avoid arbitrary 4 GB limits
45 * 1.2 17 Mar 2002 - Add faster version of decode(), doubles speed (!), 45 * 1.2 17 Mar 2002 - Add faster version of decode(), doubles speed (!),
46 * but leave simple version for readabilty 46 * but leave simple version for readability
47 * - Make sure invalid distances detected if pointers 47 * - Make sure invalid distances detected if pointers
48 * are 16 bits 48 * are 16 bits
49 * - Fix fixed codes table error 49 * - Fix fixed codes table error
@@ -624,7 +624,7 @@ local int fixed(struct state *s)
624 * are themselves compressed using Huffman codes and run-length encoding. In 624 * are themselves compressed using Huffman codes and run-length encoding. In
625 * the list of code lengths, a 0 symbol means no code, a 1..15 symbol means 625 * the list of code lengths, a 0 symbol means no code, a 1..15 symbol means
626 * that length, and the symbols 16, 17, and 18 are run-length instructions. 626 * that length, and the symbols 16, 17, and 18 are run-length instructions.
627 * Each of 16, 17, and 18 are follwed by extra bits to define the length of 627 * Each of 16, 17, and 18 are followed by extra bits to define the length of
628 * the run. 16 copies the last length 3 to 6 times. 17 represents 3 to 10 628 * the run. 16 copies the last length 3 to 6 times. 17 represents 3 to 10
629 * zero lengths, and 18 represents 11 to 138 zero lengths. Unused symbols 629 * zero lengths, and 18 represents 11 to 138 zero lengths. Unused symbols
630 * are common, hence the special coding for zero lengths. 630 * are common, hence the special coding for zero lengths.