diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-18 01:58:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-18 01:58:35 +0000 |
commit | 0d6d88a2058d191c34d25a8709aca40311bb0c2e (patch) | |
tree | 36ceefac611aab48f725052d47bba93b4e48d1c9 /libbb/Makefile | |
parent | 6fe55ae93983946b266ff18c5411d3e3ff9469b4 (diff) | |
download | busybox-0d6d88a2058d191c34d25a8709aca40311bb0c2e.tar.gz |
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.
Diffstat (limited to 'libbb/Makefile')
0 files changed, 0 insertions, 0 deletions