1 lzhuf.h is derived from a widely-distributed file usually named "lzhuf.c". It
2 has been heavily edited and abridged for Deark.
4 The original lzhuf.c contains a compressor and decompressor that use LZ77
5 combined with adaptive Huffman coding. Essentially only the adaptive Huffman
6 decompressor is used in Deark.
8 lzhuf.c was primarily written by Haruyasu Yoshizaki, with contributions from
9 Haruhiko Okumura. (There are many different versions of lzhuf.c floating
10 around. Some have additonal authors, notably Kenji Rikitake. But the version
11 used here has only those two.)
13 The terms of use for lzhuf.c are unfortunately not clearly stated. It does not
14 have a copyright notice. (It dates from 1989, before standard open source
15 licenses existed.) Some research by Russell Marks in 2001 suggests the intent
16 was something like the following:
18 "Use, distribute, and modify this program freely" - "freely" here
19 meaning 'without restriction', and not being a reference to price.
21 For a longer write-up, see Marks's lzhuf-post.txt file, included with his
22 "lbrate" software (http://www.svgalib.org/rus/lbrate.html).
24 The version of lzhuf.c used by Deark came from the following source:
26 http://cd.textfiles.com/rbbsv3n1/pac4/okumura.zip
27 LZHUF.C: size=20427, md5sum=18b03705536333af83cb2a2efbd95b08
29 Here's a variant of it that is identical except for whitespace differences:
31 http://cd.textfiles.com/pcmedic9310/UTILS/COMPRESS/OKUMURA2.ZIP
32 LZHUF.C: size=14655, md5sum=60ab7ad1d2b0b6030d97ea60e6fc0b6e