[Toybox] xzcat initial implementation (based on xz-embedded)
Rob Landley
rob at landley.net
Tue Mar 5 19:52:11 PST 2013
On 03/04/2013 06:28:40 PM, Isaac Dunham wrote:
> 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.
Um, let's see... We've already got a crc32 implementation (lib/lib.c
function crc_init()). This is an #ifdef salad. Lots of static/global
data...
Yeah, I've got some cleanup to do. :)
Rob
More information about the Toybox
mailing list