summaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* cpio: fix a bug where we do not extract zero-sized hardlinksDenis Vlasenko2008-04-055-103/+99
| | | | | | | | | | | | | | (spotted at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771). Add testsuite entry for that, and another one for another bug: we do not list hardlinks in cpio -t (not fixed). function old new delta get_header_cpio 884 909 +25 static.saved_hardlinks_created - 4 +4 static.pending_hardlinks 4 - -4 static.inode 4 - -4 cpio_main 1122 1060 -62
* cpio: typo fix in error messageDenis Vlasenko2008-04-051-1/+1
|
* cpio: optional support for writing cpio files in newc format.Denis Vlasenko2008-04-052-17/+216
| | | | | | | | | | | | | | by pascal.bellard AT ads-lu.com. function old new delta cpio_main 247 1122 +875 cpio_pad4 - 58 +58 gnu_dev_major 66 99 +33 gnu_dev_minor 38 57 +19 packed_usage 23964 23978 +14 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 999/0) Total: 999 bytes
* g[un]zip: accept and ignore -n (needed for kernel compile)Denis Vlasenko2008-03-302-2/+30
|
* whitespace fixesDenis Vlasenko2008-03-281-8/+8
|
* *: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/Denis Vlasenko2008-03-262-2/+2
|
* patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)Denis Vlasenko2008-03-231-1/+0
| | | | | *: removal of #include <getopt.h>
* unlzma: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com>Denis Vlasenko2008-03-181-11/+4
|
* *: mode tcp/udpsvd to networking, delete ipsvd/*Denis Vlasenko2008-03-171-4/+4
| | | | | | | | | | | | | | */Config.in: fixes to text svlogd: make it NOMMU capable function old new delta processorstart 378 420 +42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 42/0) Total: 42 bytes text data bss dec hex filename 797153 662 7420 805235 c4973 busybox_old 797196 662 7420 805278 c499e busybox_unstripped
* *: fix fallout from -Wunused-parameterDenis Vlasenko2008-03-172-1/+5
| | | | | | | | | | | | | | | | | | 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
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-172-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* fsck_minix: getopt32-ification; code shrink; reduce stack usage;Denis Vlasenko2008-03-172-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | fix bug in map_block2: s/(blknr >= 256 * 256)/(blknr < 256 * 256)/ function old new delta get_inode_common - 291 +291 add_zone_common - 205 +205 ask 229 215 -14 write_super_block 109 90 -19 write_block 653 629 -24 bad_zone 95 64 -31 read_block 241 198 -43 fsck_minix_main 3285 3195 -90 add_zone2 217 34 -183 add_zone 216 33 -183 recursive_check 1097 866 -231 recursive_check2 1340 956 -384 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/10 up/down: 496/-1202) Total: -706 bytes text data bss dec hex filename 799349 661 7428 807438 c520e busybox_old 798437 661 7428 806526 c4e7e busybox_unstripped
* unlzma: save a few more bytes, and maybe even a bit faster nowDenis Vlasenko2008-03-021-7/+3
|
* unlzma: if !LZMA_FAST, save ~200 more bytes (Pascal Bellard <pascal.bellard ↵Denis Vlasenko2008-03-021-24/+36
| | | | AT ads-lu.com>)
* *: add optimization barrier to all "G trick" locationsDenis Vlasenko2008-02-271-2/+2
|
* trivial fixes to config systemDenis Vlasenko2008-02-191-0/+1
|
* tar: optional autodetection of gz/bz2 compressed tarballs.Denis Vlasenko2008-02-193-31/+92
| | | | | +130 bytes. Closes bug 992.
* dpkg: fix bug where existence check was reversedDenis Vlasenko2008-02-171-8/+4
|
* *: more readable handling of pipe fds. No code changes.Denis Vlasenko2008-02-164-15/+15
|
* random s/short/int/Denis Vlasenko2008-02-162-7/+8
| | | | | | | | | add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
* tar: real support for -p. +200 if selected.Denis Vlasenko2008-02-144-2/+60
| | | | | By Natanael Copa <natanael.copa at gmail.com>
* tar: do "short EOF" compat only if CONFIG_DESKTOP.Denis Vlasenko2008-02-141-1/+8
| | | | | ash: add a comment about new minor bug
* tar: compat: handle tarballs with only one zero block at the endDenis Vlasenko2008-02-131-1/+9
|
* tar: move FNM_LEADING_DIR #define to tar.c - no other users.Denis Vlasenko2008-02-131-0/+5
| | | | | Closes bug 1332.
* unzip: do not try to read entire compressed stream at once (it can be huge)Denis Vlasenko2008-02-041-6/+17
| | | | | unzip: handle short reads correctly
* *: tidy up usage of char **environDenis Vlasenko2008-01-281-1/+1
|
* 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
|