aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* udhcpd: fix daemonize crash on nommu systemsMike Frysinger2010-06-041-1/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* date: optional support for %N. Closes bug 1861.Denys Vlasenko2010-06-042-6/+60
| | | | | | | | | | function old new delta date_main 862 1090 +228 clock_gettime - 41 +41 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/0 up/down: 269/0) Total: 269 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_vfat: fix gcc-4.4 warningDenys Vlasenko2010-06-041-3/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2010-06-041-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix a case when one-line range matches past lines. Closes bug 1867.Denys Vlasenko2010-06-042-15/+33
| | | | | | | | | | function old new delta process_files 2096 2107 +11 add_cmd 1142 1132 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 11/-10) Total: 1 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: rename parsefile->fd to ->pf_fdDenys Vlasenko2010-06-031-15/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix redirection of fd 0 in scripts are sourced from interactive ashDenys Vlasenko2010-06-033-13/+28
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* test: "" is not a valid number. Closes bug 1915Denys Vlasenko2010-06-031-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: simplify checks for gz/bz2/xz magicDenys Vlasenko2010-06-023-15/+41
| | | | | | | | | | | function old new delta send_tree 360 355 -5 rpm2cpio_main 249 220 -29 setup_unzip_on_fd 150 118 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-66) Total: -66 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* document how to find non-shared string dupsDenys Vlasenko2010-06-021-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: better string sharingDenys Vlasenko2010-06-0210-26/+22
| | | | | | | | text data bss dec hex filename 849427 441 7556 857424 d1550 busybox_old 849355 441 7556 857352 d1508 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: remove one redundant function, improve string sharing, better field namesDenys Vlasenko2010-06-021-55/+57
| | | | | | | | | | | | | | | function old new delta var_end - 15 +15 changepath 194 192 -2 setvareq 222 218 -4 lookupvar 57 51 -6 bltinlookup 57 51 -6 evalfun 452 443 -9 varequal 14 - -14 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/5 up/down: 15/-41) Total: -26 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* decompress_unxz: allocate permanent crc32 table _fisrt_Denys Vlasenko2010-06-011-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* deinline two big functionsDenys Vlasenko2010-06-012-2/+2
| | | | | | | | | | | | function old new delta xz_dec_lzma2_run - 1483 +1483 decode_one_format - 715 +715 decode_format_string 840 98 -742 unpack_xz_stream 4014 2377 -1637 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/2 up/down: 2198/-2379) Total: -181 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* decompress_unxz: newer version, one which can unpack SHA-256 protected filesDenys Vlasenko2010-06-017-68/+154
| | | | | | | | | | | | | | function old new delta check_sizes - 16 +16 crc32_table - 4 +4 index_update 47 40 -7 crc32_validate 110 93 -17 dec_vli 197 165 -32 unpack_xz_stream 4284 4014 -270 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/4 up/down: 20/-326) Total: -306 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fix column display for wide and combining chars in TAB completionTomas Heinrich2010-06-013-7/+25
| | | | | | | | | | | | function old new delta unicode_strwidth - 20 +20 read_line_input 4945 4953 +8 unicode_strlen 31 - -31 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 28/-31) Total: -3 bytes Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* archival/*: shrink by reusing sufficiently similar functionsDenys Vlasenko2010-05-315-57/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta append_ext - 16 +16 unxz_main 77 83 +6 unlzma_main 77 83 +6 uncompress_main 42 48 +6 gzip_main 184 190 +6 bzip2_main 114 120 +6 bunzip2_main 61 67 +6 bbunpack 469 475 +6 send_tree 355 360 +5 lzop_main 89 92 +3 gunzip_main 61 64 +3 make_new_name_lzop 84 82 -2 make_new_name_gunzip 114 112 -2 make_new_name_unxz 14 - -14 make_new_name_unlzma 14 - -14 make_new_name_uncompress 14 - -14 make_new_name_bunzip2 14 - -14 make_new_name_gzip 17 - -17 make_new_name_bzip2 17 - -17 ------------------------------------------------------------------------------ (add/remove: 1/6 grow/shrink: 10/2 up/down: 69/-94) Total: -25 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dhcp: truncate packets instead of padding them to 574 bytes. closes bug 1849Denys Vlasenko2010-05-311-12/+20
| | | | | | | | function old new delta udhcp_send_raw_packet 411 456 +45 udhcp_send_kernel_packet 259 271 +12 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dhcp: indicate IP network order in prototypes tooDenys Vlasenko2010-05-301-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dhcp: readability cleanups and small code shrinkDenys Vlasenko2010-05-304-49/+54
| | | | | | | function old new delta udhcp_run_script 654 617 -37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rpm2cpio: teach it to understand xz formatDenys Vlasenko2010-05-301-11/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unxz: remove debugging. no code changesDenys Vlasenko2010-05-304-33/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: teach tar et. al. to understand .xz by heartDenys Vlasenko2010-05-305-25/+46
| | | | | | | | | | | | | | function old new delta unpack_xz_stream - 4126 +4126 setup_unzip_on_fd 80 150 +70 open_zipped 113 131 +18 unpack_unxz 5 12 +7 send_tree 360 353 -7 unpack_xz_stream_stdin 3953 - -3953 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 3/1 up/down: 4221/-3960) Total: 261 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* forgotten "git add"...Denys Vlasenko2010-05-301-0/+116
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* reorder parts of bbunzip.c, no code changesDenys Vlasenko2010-05-301-75/+48
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unxz: new applet, complete with xzcat and xz -d aliasesDenys Vlasenko2010-05-3016-9/+3433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta unpack_xz_stream_stdin - 3953 +3953 lzma_main - 2601 +2601 lzma_len - 516 +516 dec_vli - 165 +165 dict_repeat - 103 +103 lzma_reset - 98 +98 fill_temp - 98 +98 crc32_validate - 93 +93 xz_dec_reset - 77 +77 unxz_main - 77 +77 index_update - 47 +47 xz_crc32 - 40 +40 packed_usage 27044 27060 +16 make_new_name_unxz - 14 +14 applet_names 2240 2254 +14 applet_main 1312 1324 +12 applet_nameofs 656 662 +6 unpack_unxz - 5 +5 send_tree 355 360 +5 applet_install_loc 164 166 +2 ------------------------------------------------------------------------------ (add/remove: 15/0 grow/shrink: 6/0 up/down: 7942/0) Total: 7942 bytes text data bss dec hex filename 844032 453 6812 851297 cfd61 busybox_old 852063 453 6812 859328 d1cc0 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename FEATURE_LZMA_ALIAS to just LZMADenys Vlasenko2010-05-304-12/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lzop: fix indentationDenys Vlasenko2010-05-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bbunzip: silence warning about unused variableBernhard Reutner-Fischer2010-05-271-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* trivial fixes: use uint8_t, not __u8; fix defconfig for fgconsoleDenys Vlasenko2010-05-272-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: make gen_build_files.sh messages more inline with the restDenys Vlasenko2010-05-271-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim help text. -29 bytesDenys Vlasenko2010-05-271-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unlzma: add "lzma -d" alias, add -t support, rename lzmacat->lzcatDenys Vlasenko2010-05-276-36/+59
| | | | | | | | | | Also coalesce some common strings text data bss dec hex filename 844110 453 6812 851375 cfdaf busybox_old 844061 453 6812 851326 cfd7e busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ip addr: shrinkBernhard Reutner-Fischer2010-05-251-99/+78
| | | | | | | | | | | function old new delta ipaddr_list_or_flush 1254 1248 -6 ipaddr_modify 1299 1279 -20 .rodata 135249 135193 -56 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-82) Total: -82 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ip addr: unify parsing argsBernhard Reutner-Fischer2010-05-251-13/+7
| | | | | | | | | function old new delta do_ipaddr 87 84 -3 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-3) Total: -3 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ip rule: unify parsing argsBernhard Reutner-Fischer2010-05-251-25/+11
| | | | | | | | | | | function old new delta do_iprule 83 134 +51 print_rule 736 726 -10 iprule_list 73 - -73 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/1 up/down: 51/-83) Total: -32 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ip tunnel: unify parsing args; no obj-code changesBernhard Reutner-Fischer2010-05-251-3/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ip link: add qlenBernhard Reutner-Fischer2010-05-251-2/+7
| | | | | | | | | | | | qlen had a variable but was not handled.. function old new delta do_iplink 1113 1261 +148 .rodata 135225 135249 +24 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 172/0) Total: 172 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* iplink: shrinkBernhard Reutner-Fischer2010-05-251-54/+39
| | | | | | | | | | | function old new delta do_change 490 487 -3 ipaddr_list_link 18 - -18 do_iplink 1169 1113 -56 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-77) Total: -77 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* iplink: support add/deleteBernhard Reutner-Fischer2010-05-251-2/+91
| | | | | | | | | | | function old new delta do_change - 490 +490 .rodata 135193 135225 +32 do_iplink 1146 1169 +23 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 545/0) Total: 545 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ipaddress: print OPERSTATEs and NO-CARRIERBernhard Reutner-Fischer2010-05-251-0/+9
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* unzip: another small code shrinkDenys Vlasenko2010-05-241-2/+2
| | | | | | | function old new delta find_cdf_offset 173 160 -13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unzip: tiny code shrink -2 bytesDenys Vlasenko2010-05-241-5/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unzip: restore unix file mode if possible. closes bug 1045Denys Vlasenko2010-05-241-55/+88
| | | | | | | | | function old new delta unzip_main 2197 2188 -9 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/1 up/down: 173/-182) Total: -9 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fgconsole: new applet by Grigory Batalov <bga@altlinux.org>Grigory Batalov2010-05-236-4/+48
| | | | | | | | | | | | | | | function old new delta fgconsole_main - 51 +51 applet_names 2227 2237 +10 applet_main 1304 1308 +4 applet_nameofs 652 654 +2 applet_install_loc 163 164 +1 packed_usage 27079 27073 -6 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/1 up/down: 68/-6) Total: 62 bytes Signed-off-by: Grigory Batalov <bga@altlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifconfig: do not truncate interface names. closes bug 1795Denys Vlasenko2010-05-231-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: consolidate builtin_foo.? into shell_common.?; delete obsolete shellsDenys Vlasenko2010-05-2311-7436/+442
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix unescaped $ in makefileDenys Vlasenko2010-05-231-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ps: make "ps -o BAD" emit list of good -o paramsDenys Vlasenko2010-05-232-8/+22
| | | | | | | | | | also make ps help more informative function old new delta find_out_spec 58 103 +45 packed_usage 27039 27079 +40 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: do not emit bogus error message on EOFDenys Vlasenko2010-05-221-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>