OSDN Git Service

More of same.
authorIsaac Dunham <idunham@lavabit.com>
Thu, 11 Apr 2013 16:31:51 +0000 (11:31 -0500)
committerIsaac Dunham <idunham@lavabit.com>
Thu, 11 Apr 2013 16:31:51 +0000 (11:31 -0500)
commit052491266f02585c7c990100cb7457e56755c336
tree4ad0c0054c8a7ff54113daaa71b707bd2577153f
parentd111ad2e321429a8fe29ba2c0ba4019ab8799e4a
More of same.
Actually, it's not quite the same:
-use crc_init(xz_crc32_table,1) -- I guessed on this one based on a match between magic constants, then tested it. First try was wrong, but this works.
(This is the sole difference in terms of actual _code_, as opposed to cleaning up defines and the like--here, it adds 48 bytes to final size if xzcat is the only toy, but drops 32 bytes if bzcat is also enabled...)
-Move some crc64 code to where the comments are. This puts them near the area where they're used.
-Remove some relics of separate files (we had half a dozen "this file is in the public domain" notices, a duplicate include, and used extern declarations for functions in the samefile)
toys/pending/xzcat.c