aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* post-1.14.0 fixesDenys Vlasenko2009-05-271-37/+31
| | | | | | | | hush significantly updated. fixes for acpid, awk, depmod, dhcp, gzip, mdev, modprobe, sysctl. libbb fixes. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trailing whitespace removalDenis Vlasenko2009-04-011-1/+1
|
* cpio: more compat: -0 and -L optionsDenis Vlasenko2009-03-201-82/+92
| | | | | | function old new delta cpio_main 1417 1473 +56
* Compatibility fixes:Denis Vlasenko2009-03-202-16/+72
| | | | | | | | | grep: support -z find: support --mindepth together +45 bytes cpio: support -p (configurable, +230 bytes) libbb: tweaks for cpio
* tar: make FEATURE_TAR_AUTODETECT work with DESKTOP off too.Denis Vlasenko2009-03-131-2/+2
|
* unzip: fix thinko with le/be conv and size (closes bug 129)Denis Vlasenko2009-02-261-1/+1
| | | | | awk: make "struct global" hack more robust wrt alignment (closes bug 131)
* tar: stop changing net tarfile's mode, GNU tar doesn't do itDenis Vlasenko2009-01-201-2/+0
|
* header_verbose_list: show off_t size, not cast to (unsigned)Denis Vlasenko2008-12-123-4/+76
| | | | | | | | | get_header_tar: support GNU tar's "base256" encoding function old new delta get_header_tar 1536 1600 +64 header_verbose_list 242 257 +15
* optimize 16- and 32-bit movesDenis Vlasenko2008-12-081-3/+2
| | | | | | | | | | | | | | | | function old new delta udhcpd_main 1239 1257 +18 udhcp_add_simple_option 93 92 -1 buffer_read_le_u32 19 18 -1 unpack_gz_stream_with_info 526 520 -6 dnsd_main 1470 1463 -7 udhcp_run_script 1208 1186 -22 send_ACK 255 229 -26 arping_main 1661 1623 -38 send_offer 470 428 -42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/8 up/down: 18/-143) Total: -125 bytes
* dpkg: better and shorter code to compare versionsDenis Vlasenko2008-11-201-68/+59
| | | | | | | | | | | | | (taken from "official" dpkg). By Eugene T. Bordenkircher (eugebo AT gmail.com) function old new delta order - 48 +48 test_version 273 276 +3 version_compare_part 396 187 -209 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 51/-209) Total: -158 bytes
* gunzip: restore mtime. approx +80 bytes of codeDenis Vlasenko2008-11-015-23/+56
| | | | | | rpm: make code more robust lsmod: small code shrink
* cpio: emit TRAILER even when hard links were found.Denis Vlasenko2008-10-261-2/+3
| | | | | by Pascal Bellard (pascal.bellard AT ads-lu.com)
* tar: fix typo in commentDenis Vlasenko2008-10-251-1/+1
|
* tar: fix bug 3844: non-root tar does not preserve permsDenis Vlasenko2008-10-241-0/+4
|
* cpio: fix regression in prev commit (harmless)Denis Vlasenko2008-10-171-2/+4
|
* data_extract_all: do not complain if directory exists on mkdirDenis Vlasenko2008-10-173-2/+8
| | | | | | rpm/cpio: move "20653 blocks" printout from get_header_cpio to cpio_main - rpm doesn't want to have that
* rpm: fix incompatibilities which prevented rpm -i foo.src.rpmDenis Vlasenko2008-10-161-4/+11
| | | | | | function old new delta fileaction_setowngrp 57 89 +32
* build system: dpkg needs .gz handlingDenis Vlasenko2008-10-151-2/+3
|
* unzip: remove example of a file we now can handleDenis Vlasenko2008-10-091-0/+0
|
* - add dpkg -l <packagepattern> (Peter Korsgaard)Bernhard Reutner-Fischer2008-09-251-2/+6
|
* unzip: handle "central directory"Denis Vlasenko2008-09-211-47/+196
| | | | | | | | | | | | | needed for OpenOffice, gmail attachment .zips etc conditional on CONFIG_DESKTOP function old new delta unzip_main 1643 1939 +296 find_cds_offset - 173 +173 unzip_skip 11 16 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 474/0) Total: 474 bytes
* man: add handling of "man links", by Ivana Varekova <varekova AT redhat.com>Denis Vlasenko2008-08-051-6/+6
| | | | | | | | | | function old new delta run_pipe 102 354 +252 show_manpage - 126 +126 man_main 705 615 -90 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 378/-90) Total: 288 bytes
* *: refactor handling of archived files. "tar f file.tar.lzma" now works too.Denis Vlasenko2008-08-0512-193/+145
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta unpack_Z_stream - 1229 +1229 open_zipped - 176 +176 unpack_bz2_stream_prime - 60 +60 tar_main 642 677 +35 find_main 406 418 +12 sv_main 1222 1233 +11 decode_format_string 829 837 +8 cmp_main 641 649 +8 popstring 134 140 +6 filter_accept_list_reassign 120 125 +5 parse_and_put_prompt 800 804 +4 passwd_main 1053 1049 -4 make_new_name_gunzip 119 114 -5 rpm_main 1688 1670 -18 prepare 302 283 -19 xmalloc_open_zipped_read_close 135 61 -74 uncompress 1229 - -1229 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 8/5 up/down: 1554/-1349) Total: 205 bytes
* libbb: make xrealloc_vector zero out the realloc'ed tailDenis Vlasenko2008-08-041-2/+1
| | | | | | | | | | | | | | function old new delta xrealloc_vector_helper 51 76 +25 man_main 712 705 -7 act 250 234 -16 create_list 91 70 -21 getopt_main 695 664 -31 load_dep_bb 281 248 -33 fileAction 744 709 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 25/-143) Total: -118 bytes
* unzip: move check for unsupported zip features to better placeDenis Vlasenko2008-07-261-15/+17
|
* unzip: give better error message when presented with unsupportedDenis Vlasenko2008-07-263-0/+6
| | | | | | zip file. Add zip documentation and an example of file we cant (yet) unpack.
* fix trivial build warningDenis Vlasenko2008-07-221-1/+1
|
* - wrap overlong lines (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-07-221-21/+25
| | | | - s/\. /. /g;# (me)
* libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko2008-07-213-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (by Valdimir) function old new delta config_open2 - 41 +41 config_read 507 542 +35 find_pair 169 187 +18 fopen_for_write - 14 +14 fopen_for_read - 14 +14 find_main 406 418 +12 xfopen_for_write - 10 +10 xfopen_for_read - 10 +10 popstring 134 140 +6 parse_inittab 396 401 +5 next_token 923 928 +5 pack_gzip 1659 1661 +2 bb__parsespent 117 119 +2 fallbackSort 1719 1717 -2 evalvar 1376 1374 -2 qrealloc 36 33 -3 ... ... ... ... singlemount 4579 4569 -10 process_stdin 443 433 -10 patch_main 1111 1101 -10 ifupdown_main 2175 2165 -10 file_action_grep 90 80 -10 uuidcache_init 649 637 -12 hush_main 797 785 -12 read_config 230 217 -13 dpkg_main 3835 3820 -15 read_line_input 3134 3110 -24 sysctl_main 232 203 -29 config_open 40 10 -30 WARN_BAD_LINE 44 - -44 login_main 1714 1575 -139 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
* tar: fix handling of tarballs with symlinks with size field != 0Denis Vlasenko2008-07-202-7/+14
|
* build system: fix indentation in config menuDenis Vlasenko2008-07-171-2/+6
|
* cpio: make long opts depend only on ENABLE_GETOPT_LONGDenis Vlasenko2008-07-161-1/+1
|
* whitespace fixesDenis Vlasenko2008-07-121-1/+1
|
* cpio: internalize archive_xread_all_eof. add a few paranoia checksDenis Vlasenko2008-07-124-55/+38
| | | | | | | | | | | | | for corrupted cpio files. modprobe-small: remove stray include route: small code shrink function old new delta get_header_cpio 958 980 +22 archive_xread_all_eof 33 - -33 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 22/-33) Total: -11 bytes
* cpio: on unpack, limit filename length to 8k; shorten comment a bitDenis Vlasenko2008-07-112-15/+15
|
* cpio: support some long options; document GNU optionsDenis Vlasenko2008-07-112-16/+92
|
* fix compile failures resulting from last few commitsDenis Vlasenko2008-07-111-2/+1
|
* dpkg_deb: slight code shrinkDenis Vlasenko2008-07-108-44/+62
| | | | | | | | | | | | | | ar: reuse existing ar unpacking code get_header_tar: handle autodetection for tiny .tar.gz files too unarchive.h: do not include CONFIGed out things function old new delta get_header_tar 1521 1534 +13 dpkg_deb_main 400 380 -20 ar_main 260 196 -64 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 13/-84) Total: -71 bytes
* open_transformer: do not return fd, it does not changeDenis Vlasenko2008-07-107-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | libbb: adopt zipped read from modprobe-small function old new delta getoptscmd 708 713 +5 qgravechar 106 109 +3 huft_build 1165 1168 +3 tr_main 474 472 -2 open_transformer 91 89 -2 evalvar 1376 1374 -2 rpm_main 1691 1688 -3 qrealloc 36 33 -3 get_header_tar_lzma 55 52 -3 get_header_tar_gz 100 97 -3 get_header_tar_bz2 55 52 -3 get_header_tar_Z 89 86 -3 find_main 418 406 -12 prepare 302 283 -19 xmalloc_open_zipped_read_close 161 135 -26 xmalloc_read 248 199 -49 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/13 up/down: 11/-130) Total: -119 bytes
* libbb: introduce and use xrealloc_vectorDenis Vlasenko2008-07-082-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta xrealloc_vector_helper - 51 +51 create_list 84 99 +15 getopt_main 690 695 +5 passwd_main 1049 1053 +4 get_cached 85 89 +4 msh_main 1377 1380 +3 add_match 42 41 -1 read_lines 720 718 -2 grave 1068 1066 -2 fill_match_lines 143 141 -2 add_to_dirlist 67 65 -2 add_input_file 49 47 -2 act 252 250 -2 fsck_main 2252 2246 -6 man_main 765 757 -8 bb_internal_initgroups 228 220 -8 cut_main 1052 1041 -11 add_edge_to_node 55 43 -12 dpkg_main 3851 3835 -16 ifupdown_main 2202 2178 -24 sort_main 838 812 -26 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/15 up/down: 82/-124) Total: -42 bytes
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-0510-19/+19
|
* sendmail: fix wrong vfork usage here tooDenis Vlasenko2008-07-012-3/+3
| | | | | | | | | | | | *: shorten error texts function old new delta launch_helper - 151 +151 vfork_or_die 20 - -20 sendgetmail_main 1946 1848 -98 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/1 up/down: 151/-118) Total: 33 bytes
* revert last two commits. vfork cannot be used in subroutine,Denis Vlasenko2008-07-012-2/+13
| | | | | it trashes stack on return
* *: introduce and use xfork()Denis Vlasenko2008-07-011-8/+1
| | | | | | | | | | | | | function old new delta xfork - 20 +20 msh_main 1377 1380 +3 mod_process 455 446 -9 forkexit_or_rexec 30 17 -13 expand_variables 1434 1421 -13 open_transformer 91 76 -15 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/4 up/down: 23/-50) Total: -27 bytes
* *: introduce and use xvfork()Denis Vlasenko2008-07-012-6/+2
| | | | | | | | | | | | | | | | | | | | 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-2810-82/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* support gzip -t and bzip2 -tDenis Vlasenko2008-06-272-5/+6
|
* cpio: fix -m to actually work as expected (Pascal Bellard)Denis Vlasenko2008-06-271-1/+4
| | | | | | function old new delta cpio_main 1140 1153 +13
* unlzma: fix memory leak (Pascal Bellard)Denis Vlasenko2008-06-271-20/+23
|