aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* libbb: introduce and use safe_waitpid (loops in EINTR)Denis Vlasenko2008-01-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | *: 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
* Fix xmalloc_fgets_str so that it really does NOT strip terminator.Denis Vlasenko2007-12-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko2007-12-241-1/+1
| | | | | | | | | | | | *: 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
* attack the biggest stack users:Denis Vlasenko2007-12-024-14/+47
| | | | | | | | | | | | | | | | | -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
* add comment clarifying busybox's use of non-standard tar headerPaul Fox2007-11-172-1/+7
|
* tar: fix a case where glibc detects bogus buffer overrunDenis Vlasenko2007-11-162-4/+6
| | | | | which is not really there!
* open_transformer: do not duplicate "<program> -cf -"Denis Vlasenko2007-11-126-17/+19
| | | | | | | text data bss dec hex filename 677858 738 7236 685832 a7708 busybox_old 677804 738 7236 685778 a76d2 busybox_unstripped
* gzip: fix a case where tar xzf fails (we use uninitialized fd)Denis Vlasenko2007-11-121-0/+1
|
* *: remove superfluous "?" in option parsingDenis Vlasenko2007-11-101-1/+1
|
* unzip: hmm... gcc doesn't like ATTRIBUTE_PACKED?? Document that...Denis Vlasenko2007-11-061-1/+1
|
* telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>)Denis Vlasenko2007-11-061-1/+1
| | | | | syslogd: strip trailing NULs
* change safety check on zip header to allow for extra length, andPaul Fox2007-11-051-3/+11
| | | | | | 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.
* Announce 1.8.01_8_0Denis Vlasenko2007-11-041-9/+9
|
* bzip2: make -d actually workDenis Vlasenko2007-10-211-2/+2
|
* unzip: add a comment explaining why we don't dieDenis Vlasenko2007-10-191-0/+2
|
* unzip: fix endianness bugsDenis Vlasenko2007-10-181-100/+113
|
* ash: use fdprintf, not dprintf.Denis Vlasenko2007-10-171-1/+1
| | | | | *: trailing whitespace removed
* bzip2: more of code shrinkDenis Vlasenko2007-10-172-64/+38
| | | | | | | | | | | 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
* bzip2: move state pointer to the offset 0 (smaller code)Denis Vlasenko2007-10-163-1/+7
| | | | | | | | | | | | | | | | | | | | | 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
* bzip2: make -s equivalent to -2 (compatible with standard bzip2)Denis Vlasenko2007-10-161-0/+1
| | | | | telnetd: typo fix in comment
* bzip2: implement -1..-9 command line flagsDenis Vlasenko2007-10-141-7/+30
|
* bzip2: eliminate some divisionsDenis Vlasenko2007-10-143-35/+51
|
* remove trailing whitespaceDenis Vlasenko2007-10-145-20/+20
|
* bzip2: code size shrinkDenis Vlasenko2007-10-141-4/+34
|
* bzip2: remove files which are not used anymoreDenis Vlasenko2007-10-142-190/+0
|
* bzip2: size reduction, to just below 9k.Denis Vlasenko2007-10-147-456/+375
|
* bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko2007-10-1316-18/+3233
| | | | | | | in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-1110-13/+13
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* bunzip: small code shrink and consmeticsDenis Vlasenko2007-10-101-22/+28
| | | | | | | | | 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
* delete now unused check_header_gzip.cDenis Vlasenko2007-10-051-59/+0
| | | | | sum: do not use uintmax needlessly
* add tests for gunzipDenis Vlasenko2007-10-053-0/+94
|
* gunzip: support concatenated gz files.Denis Vlasenko2007-10-056-247/+368
| | | | | | | text data bss dec hex filename 770988 1029 9552 781569 bed01 busybox.t0/busybox 771105 1029 9552 781686 bed76 busybox.t3/busybox
* printf("%s\n") -> puts()Denis Vlasenko2007-10-011-9/+9
|
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko2007-10-011-1/+1
| | | | | 263 bytes saved.
* bunzip2: trim verbose messagesDenis Vlasenko2007-09-281-3/+3
| | | | | | | | text data bss dec hex filename 770752 1029 9696 781477 beca5 busybox_old 770691 1029 9696 781416 bec68 busybox_unstripped
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-272-3/+2
|
* tar: add a comment about previous subtle fixDenis Vlasenko2007-09-241-6/+7
|
* tar: strip leading '/' BEFORE memorizing hardlink's nameDenis Vlasenko2007-09-241-20/+21
| | | | | | | | function old new delta writeFileToTarball 1362 1352 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-10) Total: -10 bytes
* update Glenn McGrath's email addressDenis Vlasenko2007-09-214-5/+4
|
* style fix, no code changesDenis Vlasenko2007-09-094-4/+7
|
* open_transformer: fix vda's goofupDenis Vlasenko2007-09-091-2/+3
|
* overload the existing '-q' flag so that if '-l' and '-q' are usedPaul Fox2007-09-071-11/+19
| | | | | together, a "short form" listing (just pathnames) is generated. change a few flag variables to "smallint" as well.
* tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau ↵Denis Vlasenko2007-09-058-42/+86
| | | | <landau_alex@yahoo.com>)
* tar: conditionally don't wait for vforked child to exec, as it alwaysDenis Vlasenko2007-09-042-37/+51
| | | | | | | | | | | | | | | works right on Linux, and anyway mayresult only on less-than-clear error message only, it will not cause tar to misbehave. function old new delta open_transformer 98 80 -18 writeTarFile 714 547 -167 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-185) Total: -185 bytes text data bss dec hex filename 770651 1051 10764 782466 bf082 busybox_old 770463 1051 10764 782278 befc6 busybox_unstripped
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-187-10/+10
| | | | | | | | (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
* assorted fixes for breakage found by randomconfigDenis Vlasenko2007-08-171-0/+2
|
* trylink: automatically use custom link script if user provides oneDenis Vlasenko2007-08-142-5/+5
| | | | | | vinfo_msg: one user (info_msg), incorporate in it *: style fixes
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-136-13/+15
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-125-20/+21
| | | | | | | | | 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
* Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko2007-07-242-7/+6
| | | | | | | | | which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped