summaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2008-02-27*: add optimization barrier to all "G trick" locationsDenis Vlasenko
2008-02-19trivial fixes to config systemDenis Vlasenko
2008-02-19tar: optional autodetection of gz/bz2 compressed tarballs.Denis Vlasenko
+130 bytes. Closes bug 992.
2008-02-17dpkg: fix bug where existence check was reversedDenis Vlasenko
2008-02-16*: more readable handling of pipe fds. No code changes.Denis Vlasenko
2008-02-16random s/short/int/Denis Vlasenko
add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
2008-02-14tar: real support for -p. +200 if selected.Denis Vlasenko
By Natanael Copa <natanael.copa at gmail.com>
2008-02-14tar: do "short EOF" compat only if CONFIG_DESKTOP.Denis Vlasenko
ash: add a comment about new minor bug
2008-02-13tar: compat: handle tarballs with only one zero block at the endDenis Vlasenko
2008-02-13tar: move FNM_LEADING_DIR #define to tar.c - no other users.Denis Vlasenko
Closes bug 1332.
2008-02-04unzip: do not try to read entire compressed stream at once (it can be huge)Denis Vlasenko
unzip: handle short reads correctly
2008-01-28*: tidy up usage of char **environDenis Vlasenko
2008-01-02libbb: introduce and use safe_waitpid (loops in EINTR)Denis Vlasenko
*: use more approproate (shorter) versions of wait() function old new delta safe_waitpid - 48 +48 wait_any_nohang - 17 +17 send_tree 365 369 +4 processorstop 432 435 +3 text_yank 110 108 -2 make_human_readable_str 202 200 -2 crond_main 1368 1366 -2 handle_sigchld 49 43 -6 reapchild 166 159 -7 custom 260 250 -10 checkscript 191 177 -14 wait_nohang 17 - -17 wait_pid 43 - -43 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes
2007-12-26Fix xmalloc_fgets_str so that it really does NOT strip terminator.Denis Vlasenko
Add xmalloc_fgetline_str which does strip terminator, and use it in dpkg instead of xmalloc_fgets_str. netstat: use xmalloc_fgets_str - allows to eat strings with NULs (this fixes bug with some weird /proc/net/unix input) function old new delta xmalloc_fgets_internal - 191 +191 xmalloc_fgetline_str - 18 +18 do_info 116 120 +4 unix_do_one 451 447 -4 tcp_do_one 423 419 -4 send_tree 369 365 -4 xmalloc_fgets_str 178 15 -163 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175) Total: 38 bytes text data bss dec hex filename 778445 832 7344 786621 c00bd busybox_old 778483 832 7344 786659 c00e3 busybox_unstripped
2007-12-24nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko
*: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
2007-12-02attack the biggest stack users:Denis Vlasenko
-mkfs_minix_main [busybox_unstripped]: 4288 -mkfs_minix_main [busybox_unstripped]: 4276 -grave [busybox_unstripped]: 4260 (bzip2 users too - not listed) price we pay in code size increase: mainSort 2458 2515 +57 grave 1005 1058 +53 sendMTFValues 2177 2195 +18 BZ2_blockSort 122 125 +3 mkfs_minix_main 3070 3022 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
2007-11-17add comment clarifying busybox's use of non-standard tar headerPaul Fox
2007-11-16tar: fix a case where glibc detects bogus buffer overrunDenis Vlasenko
which is not really there!
2007-11-12open_transformer: do not duplicate "<program> -cf -"Denis Vlasenko
text data bss dec hex filename 677858 738 7236 685832 a7708 busybox_old 677804 738 7236 685778 a76d2 busybox_unstripped
2007-11-12gzip: fix a case where tar xzf fails (we use uninitialized fd)Denis Vlasenko
2007-11-10*: remove superfluous "?" in option parsingDenis Vlasenko
2007-11-06unzip: hmm... gcc doesn't like ATTRIBUTE_PACKED?? Document that...Denis Vlasenko
2007-11-06telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>)Denis Vlasenko
syslogd: strip trailing NULs
2007-11-05change safety check on zip header to allow for extra length, andPaul Fox
revert the header read to use the correct constant rather than sizeof. at least one version of gcc (armv4-linux-gcc-3.4.1) pads the struct to 28 bytes in spite of the packing.
2007-11-04Announce 1.8.01_8_0Denis Vlasenko
2007-10-21bzip2: make -d actually workDenis Vlasenko
2007-10-19unzip: add a comment explaining why we don't dieDenis Vlasenko
2007-10-18unzip: fix endianness bugsDenis Vlasenko
2007-10-17ash: use fdprintf, not dprintf.Denis Vlasenko
*: trailing whitespace removed
2007-10-17bzip2: more of code shrinkDenis Vlasenko
compressStream 503 473 -30 BZ2_bzCompress 78 - -78 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-108) Total: -108 bytes text data bss dec hex filename 676300 2538 12104 690942 a8afe busybox_old 676192 2538 12104 690834 a8a92 busybox_unstripped
2007-10-16bzip2: move state pointer to the offset 0 (smaller code)Denis Vlasenko
ifdef out DecompressEnd if FEATURE_CLEAN_UP is not seleted fallbackSort 1655 1672 +17 mainSort 2447 2458 +11 bzip2_main 109 119 +10 .rodata 123466 123469 +3 generateMTFValues 433 435 +2 handle_compress 355 356 +1 BZ2_bzCompress 79 78 -1 prepare_new_block 55 48 -7 compressStream 547 503 -44 sendMTFValues 2225 2140 -85 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/4 up/down: 44/-137) Total: -93 bytes text data bss dec hex filename 676421 2538 12104 691063 a8b77 busybox_old 676328 2538 12104 690970 a8b1a busybox_unstripped
2007-10-16bzip2: make -s equivalent to -2 (compatible with standard bzip2)Denis Vlasenko
telnetd: typo fix in comment
2007-10-14bzip2: implement -1..-9 command line flagsDenis Vlasenko
2007-10-14bzip2: eliminate some divisionsDenis Vlasenko
2007-10-14remove trailing whitespaceDenis Vlasenko
2007-10-14bzip2: code size shrinkDenis Vlasenko
2007-10-14bzip2: remove files which are not used anymoreDenis Vlasenko
2007-10-14bzip2: size reduction, to just below 9k.Denis 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-10-10bunzip: small code shrink and consmeticsDenis Vlasenko
read_bunzip 276 283 +7 get_bits 184 162 -22 get_next_block 1833 1810 -23 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 7/-45) Total: -38 bytes
2007-10-05delete now unused check_header_gzip.cDenis Vlasenko
sum: do not use uintmax needlessly
2007-10-05add tests for gunzipDenis Vlasenko
2007-10-05gunzip: support concatenated gz files.Denis Vlasenko
text data bss dec hex filename 770988 1029 9552 781569 bed01 busybox.t0/busybox 771105 1029 9552 781686 bed76 busybox.t3/busybox
2007-10-01printf("%s\n") -> puts()Denis Vlasenko
2007-10-01'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko
263 bytes saved.
2007-09-28bunzip2: trim verbose messagesDenis Vlasenko
text data bss dec hex filename 770752 1029 9696 781477 beca5 busybox_old 770691 1029 9696 781416 bec68 busybox_unstripped
2007-09-27introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko
2007-09-24tar: add a comment about previous subtle fixDenis Vlasenko
2007-09-24tar: strip leading '/' BEFORE memorizing hardlink's nameDenis Vlasenko
function old new delta writeFileToTarball 1362 1352 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-10) Total: -10 bytes