summaryrefslogtreecommitdiff
path: root/archival/gzip.c
AgeCommit message (Collapse)Author
2008-06-27support gzip -t and bzip2 -tDenis Vlasenko
2008-03-30g[un]zip: accept and ignore -n (needed for kernel compile)Denis Vlasenko
2008-03-17*: fix fallout from -Wunused-parameterDenis Vlasenko
function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
2008-02-27*: add optimization barrier to all "G trick" locationsDenis Vlasenko
2007-10-13bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko
in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-09-27introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
2007-07-21style fix (stray space before ';')Denis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-12style fixes. No code changesDenis Vlasenko
2007-04-10make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko
no forking anymore, bunzip2 unpack routine now does all it in memory.
2007-03-22gzip: fix -d option handlingDenis Vlasenko
2007-03-20fix accumulated whitespace and indentation damageDenis Vlasenko
2007-03-15gzip: Improve ptr_to_globals trick, allowing gccDenis Vlasenko
to optimize better. -480 bytes.
2007-03-15fix TODO: getopt32 should reset optind to 1 itselfDenis Vlasenko
2007-03-15modify ptr_to_globals trick so that we do not violateDenis Vlasenko
type safety (well, sort of ;))
2007-03-14gzip: bbunzip integration fixesDenis Vlasenko
2007-03-14gzip: use common bbunzip infrastructure - ~700 bytes code lessDenis Vlasenko
2007-03-14gzip: reduce global data footprint, part 3Denis Vlasenko
2007-03-14gzip: reduce global data footprint, part 2Denis Vlasenko
2007-03-14gzip: reduce global data footprint, part 1Denis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-13whitespace fixes (leading spaces to tab)Denis Vlasenko
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2007-01-07gzip cleanup part #13 - the last for today I thinkDenis Vlasenko
2007-01-07gzip cleanup part #12Denis Vlasenko
2007-01-07gzip cleanup part #11Denis Vlasenko
2007-01-07gzip cleanup part #10Denis Vlasenko
2007-01-07gzip cleanup part #9Denis Vlasenko
2007-01-07gzip cleanup part #8Denis Vlasenko
2007-01-07gzip cleanup part #7Denis Vlasenko
2007-01-07gzip cleanup part #6Denis Vlasenko
2007-01-07gzip cleanup part #5Denis Vlasenko
2007-01-07gzip cleanup part #4Denis Vlasenko
2007-01-07gzip cleanup part #3Denis Vlasenko
2007-01-07gzip cleanup part #2Denis Vlasenko
2007-01-07a ton of gzip changes, split up in compiled andDenis Vlasenko
run-tested pieces. Code was rather messy. It's not a bug fix, more like code cleanup. This is the first part.
2007-01-06kill unused variableDenis Vlasenko
2006-12-30done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko
these are resulting fixes
2006-12-22remove useless casts (type*) xzalloc(...)Denis Vlasenko
2006-12-18A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-10-01gzip: add a bit of comment. The code itselfDenis Vlasenko
is too bloated to work on it...
2006-10-01g[un]zip: add support for -v (verbose).Denis Vlasenko
Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that.
2006-09-22gzip: getopt_ulflags'isationDenis Vlasenko
2006-09-11- convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Bernhard Reutner-Fischer
defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes