[Toybox] xzcat initial implementation (based on xz-embedded)

Isaac Dunham idunham at lavabit.com
Mon Mar 4 16:28:40 PST 2013


Hello,
This is the code we were discussing, ready to apply.

I've made some changes (merging a couple headers and the CRC implementations, removing a few definitions that were meant for compatability with use in the kernel, plus what was necessary for using the toybox infrastructure) and enabled all the BCJ filters, but it's mostly the same as upstream xz-embedded.
Although I put this in toys/pending and disabled it by default, I have verified that it builds without warning and is functional.  
It does not accept a filename, so you need to use redirection.

Toybox with only this enabled is ~19k shared/glibc, ~34k static/musl.

-- 
Isaac Dunham <idunham at lavabit.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xzcat.diff
Type: text/x-diff
Size: 98618 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20130304/876ecf7c/attachment-0003.diff>


More information about the Toybox mailing list