[Toybox] [PATCH] inline CRC64 checks in xzcat

Isaac idunham at lavabit.com
Tue Jul 2 22:17:10 PDT 2013


This inlines CRC64, and nothing more.
The functions involved were called only once.
--
Tested to build and to decompress a tarball 
(./toybox xzcat < some.tar.xz |shasum; xzcat <some.tar.xz |shasum)
Patch is against 0.4.5/commit 942.

I intend to remove XZ_PREALLOC/XZ_SINGLE, since we're not using them and
probably won't due to how low-level they are.
Also on my agenda is changing the main loop to recognize filenames, 
probably via loopfiles() like bzcat does.


HTH,
Isaac Dunham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xzcat-inline.diff
Type: text/x-diff
Size: 2295 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20130702/0eead84e/attachment-0006.diff>


More information about the Toybox mailing list