busybox/archival
Eric Andersen 0d6d88a205 Rob Landley's new micro-bunzip version 3. Rob writes:
The API for using partial writes, as described in my last message, sucked.

So here's a patch against my last patch that changes things so that
write_bunzip_data calls read_bunzip_data itself behind the scenes whenever
necessary.  So usage is now just start_bunzip(), write_bunzip_data() until it
returns a negative number, and then the cleanup at the end of
uncompressStream.

It adds 32 bytes to the executable, but it should allow the caller (tar) to be
simplified enough to compensate.  Total -Os stripped exe size now 6856 bytes.

Rob

P.S.  I attached the whole C file so you don't have to keep incremental
patches straight if you don't want to. :)

P.S.  In the version I'm banging on now, I've simplified the license to just
LGPL.  I read the OSL a bit more closely and the patent termination clause
would have bit IBM in their counter-suit of SCO if the code in question had
been OSL instead of GPL, and I've decided I just don't want to beta-test
legal code right now.
2003-10-18 01:58:35 +00:00
..
libunarchive Rob Landley's new micro-bunzip version 3. Rob writes: 2003-10-18 01:58:35 +00:00
ar.c Major coreutils update. 2003-03-19 09:13:01 +00:00
bunzip2.c Major coreutils update. 2003-03-19 09:13:01 +00:00
Config.in trivial doc fix 2003-08-22 21:15:07 +00:00
cpio.c Dont unlink when testing ! 2003-08-28 19:12:23 +00:00
dpkg_deb.c Major coreutils update. 2003-03-19 09:13:01 +00:00
dpkg.c Do not shadow the global name 'accept' 2003-09-15 08:06:15 +00:00
gunzip.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
gzip.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile.in Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
rpm2cpio.c Major coreutils update. 2003-03-19 09:13:01 +00:00
rpm.c Major coreutils update. 2003-03-19 09:13:01 +00:00
tar.c Fix -C option when creating tar files. 2003-10-02 14:33:23 +00:00
uncompress.c Save a few bytes by using bb_getopt_ulflags and a few other minor 2003-06-22 06:59:34 +00:00
unzip.c Major coreutils update. 2003-03-19 09:13:01 +00:00