aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* *: introduce and use xvfork()Denis Vlasenko2008-07-011-3/+1
| | | | | | | | | | | | | | | | | | | | function old new delta time_main 1052 1285 +233 crontab_main 623 856 +233 ifupdown_main 2202 2403 +201 xvfork - 20 +20 passwd_main 1049 1053 +4 grave 1068 1066 -2 script_main 935 921 -14 vfork_or_die 20 - -20 vfork_compressor 206 175 -31 open_as_user 109 - -109 popen2 218 - -218 edit_file 910 690 -220 run_command 268 - -268 ------------------------------------------------------------------------------ (add/remove: 1/4 grow/shrink: 4/4 up/down: 691/-882) Total: -191 bytes
* bunzip2: make proper fix for the problem "fixed" in rev. 22521Denis Vlasenko2008-06-281-80/+13
| | | | | Thanks for Rob Landley <rob@landley.net>
* libunarchive: stop using static data in archivers - archive_handle_tDenis Vlasenko2008-06-285-65/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | can trivially provide space for that. rpm: code shrink tar: simplify autodetection of bz2/.gz function old new delta static.not_first 1 - -1 static.end 1 - -1 bb_makedev 51 49 -2 static.saved_hardlinks_created 4 - -4 static.saved_hardlinks 4 - -4 longname 4 - -4 linkname 4 - -4 hash_file 251 247 -4 get_header_tar 1528 1521 -7 rpm_main 1711 1697 -14 get_header_cpio 965 944 -21 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes text data bss dec hex filename 804926 611 6868 812405 c6575 busybox_old 804878 611 6852 812341 c6535 busybox_unstripped
* unlzma: fix memory leak (Pascal Bellard)Denis Vlasenko2008-06-271-20/+23
|
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-2729-36/+36
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* bunzip2: fix an uncompression error. Add the example to testsuite.Denis Vlasenko2008-06-261-6/+9
|
* style fixes, no code changesDenis Vlasenko2008-06-261-2/+2
|
* open_transformer: fix bug of calling exit instead of _exitDenis Vlasenko2008-06-261-2/+5
| | | | | | open_transformer: don't leak compressed descriptor anymore recursive_action: tiny shrink
* - use STD*_FILENO some more. No object-code changesBernhard Reutner-Fischer2008-05-191-1/+1
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-192-2/+2
|
* more of -Wall fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-154-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some are fixing real bugs. function old new delta syslogd_main 938 958 +20 get_signum 136 143 +7 obj_load 777 782 +5 recv_from_to 210 214 +4 get_next_block 1795 1799 +4 display_topmem_process_list 1117 1121 +4 logread_main 484 487 +3 buffer_fill_and_print 73 76 +3 kill_main 687 689 +2 ll_remember_index 240 241 +1 do_stats 452 453 +1 if_readconf 166 165 -1 display_process_list 1192 1191 -1 run_applet_and_exit 507 505 -2 print_signames 33 31 -2 parse_one_line 1092 1090 -2 find_out_spec 57 55 -2 add_ksymoops_symbols 421 419 -2 ash_main 1407 1402 -5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 11/8 up/down: 54/-17) Total: 37 bytes
* more -Wall warning fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-131-2/+2
| | | | | | | | | | | | | This time it resulted in small code changes: function old new delta nexpr 820 828 +8 tail_main 1200 1202 +2 wrapf 166 167 +1 parse_mount_options 227 209 -18 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 11/-18) Total: -7 bytes
* tar: fix obscure case when name is "" and prefix is not ""Denis Vlasenko2008-04-291-1/+1
|
* tar: fix the case where long base names can be ignoredDenis Vlasenko2008-04-291-0/+3
|
* tar: move vfork into separate function (smaller code)Denis Vlasenko2008-04-211-3/+5
| | | | | | | | | | | open_transformer: more informative error messages function old new delta vfork_compressor - 210 +210 writeTarFile 547 299 -248 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 210/-248) Total: -38 bytes
* trivial fixes to make bbox compile with gcc 4.3.0Denis Vlasenko2008-04-151-5/+5
|
* cpio: fix a bug where we do not extract zero-sized hardlinksDenis Vlasenko2008-04-053-93/+98
| | | | | | | | | | | | | | (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
* unlzma: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com>Denis Vlasenko2008-03-181-11/+4
|
* 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>)
* tar: optional autodetection of gz/bz2 compressed tarballs.Denis Vlasenko2008-02-191-8/+44
| | | | | +130 bytes. Closes bug 992.
* *: more readable handling of pipe fds. No code changes.Denis Vlasenko2008-02-163-11/+11
|
* random s/short/int/Denis Vlasenko2008-02-161-4/+2
| | | | | | | | | 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-143-1/+51
| | | | | 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
|
* 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
|
* add comment clarifying busybox's use of non-standard tar headerPaul Fox2007-11-171-0/+3
|
* tar: fix a case where glibc detects bogus buffer overrunDenis Vlasenko2007-11-161-2/+3
| | | | | which is not really there!
* open_transformer: do not duplicate "<program> -cf -"Denis Vlasenko2007-11-124-15/+17
| | | | | | | 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
|
* bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code residesDenis Vlasenko2007-10-132-9/+7
| | | | | | | in separate directory (archival/bz/*) and is covered by BSD-style license. code size: 13k
* 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
* gunzip: support concatenated gz files.Denis Vlasenko2007-10-053-243/+367
| | | | | | | text data bss dec hex filename 770988 1029 9552 781569 bed01 busybox.t0/busybox 771105 1029 9552 781686 bed76 busybox.t3/busybox
* 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-271-2/+1
|
* update Glenn McGrath's email addressDenis Vlasenko2007-09-211-1/+1
|
* style fix, no code changesDenis Vlasenko2007-09-093-3/+6
|
* open_transformer: fix vda's goofupDenis Vlasenko2007-09-091-2/+3
|
* tar + gzip/bzip2/etc: support NOMMU machines (by Alex Landau ↵Denis Vlasenko2007-09-055-37/+61
| | | | <landau_alex@yahoo.com>)
* tar: conditionally don't wait for vforked child to exec, as it alwaysDenis Vlasenko2007-09-041-2/+4
| | | | | | | | | | | | | | | 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
* assorted fixes for breakage found by randomconfigDenis Vlasenko2007-08-171-0/+2
|
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-133-6/+8
|
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-6/+6
| | | | | | | | | 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
* style fix (stray space before ';')Denis Vlasenko2007-07-211-2/+2
|
* tar: improve OLDGNU compat, make old SUN compat configurableDenis Vlasenko2007-06-212-6/+26
|
* do not do utime() on links, it acts on link targets, and we don't want that.Denis Vlasenko2007-06-204-37/+41
| | | | | rename link_name to link_target, less confusing this way.