aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* fuser: code shrink, fixing default signal, exitcode and PID displayMaksym Kryzhanovskyy2010-05-222-139/+125
| | | | | | | | | | | | | | | | | | | | | | | | Defult signal is KILL, not TERM. We used to not display PIDs with -k but without -s, but upstream (fuser from PSmisc 22.7) still shows PIDs. Filtering out of our own PID was buggy. function old new delta fuser_main 669 918 +249 search_dev_inode 67 74 +7 add_pid 38 39 +1 scan_pid_maps 225 222 -3 add_inode 91 88 -3 packed_usage 27047 27039 -8 scan_dir_links 102 76 -26 scan_link 78 46 -32 file_to_dev_inode 64 - -64 scan_proc_net 307 - -307 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 3/5 up/down: 257/-443) Total: -186 bytes Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: trivial code shrinkDenys Vlasenko2010-05-221-20/+21
| | | | | | | function old new delta static_get 26 22 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: reduce #ifdef forest a bit, rename handle_dollar -> parse_dollarDenys Vlasenko2010-05-221-25/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix hush -c 'echo $0' - was showing empty stringDenys Vlasenko2010-05-221-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix segfault in ${?:N:M}Denys Vlasenko2010-05-225-37/+78
| | | | | | | | | | | function old new delta expand_vars_to_list 2374 2409 +35 builtin_umask 132 133 +1 builtin_exit 47 48 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 37/0) Total: 37 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix "hush -c 'echo $#'" showing -1Denys Vlasenko2010-05-223-2/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: support ${var:EXPR:EXPR}!Denys Vlasenko2010-05-223-86/+152
| | | | | | | | | | | | | function old new delta handle_dollar 574 681 +107 expand_and_evaluate_arith - 77 +77 expand_vars_to_list 2302 2374 +72 add_till_closing_bracket 359 368 +9 builtin_exit 48 47 -1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/1 up/down: 265/-1) Total: 264 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix a nommu todo in recent commitsDenys Vlasenko2010-05-221-25/+37
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix more obscure ${var%...} casesDenys Vlasenko2010-05-225-24/+45
| | | | | | | | function old new delta add_till_closing_paren 313 359 +46 builtin_exit 48 47 -1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix a=abc; c=c; echo ${a%${c}}Denys Vlasenko2010-05-214-60/+75
| | | | | | | | | | | function old new delta expand_vars_to_list 2229 2302 +73 add_till_closing_paren 286 313 +27 handle_dollar 623 574 -49 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 100/-49) Total: 51 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: handle expansions in ${var?expanded_word} constructsDenys Vlasenko2010-05-213-15/+62
| | | | | | | function old new delta expand_vars_to_list 2209 2229 +20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: reorganized TODO comment at topDenys Vlasenko2010-05-211-14/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: add a list of unsupported builtinsDenys Vlasenko2010-05-211-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: handle ${var:NUM:} tooDenys Vlasenko2010-05-213-2/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trylink: gold may not support --sort-common (yet)Bernhard Reutner-Fischer2010-05-211-7/+10
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* lxdialog: fix ncursesw include detectionBernhard Reutner-Fischer2010-05-211-1/+5
| | | | | | | the lib was checked but the include not, do so. TODO: check if upstream fixed that already or fix it there, too. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* hush: remove extra comparison from prev commitDenys Vlasenko2010-05-211-4/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: optional support for ${var:N:M} bashismDenys Vlasenko2010-05-213-39/+120
| | | | | | | | function old new delta expand_vars_to_list 1999 2183 +184 handle_dollar 682 623 -59 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: explain various parameter expansion ops in commentsDenys Vlasenko2010-05-201-8/+36
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: small code shrinkDenys Vlasenko2010-05-201-7/+6
| | | | | | | function old new delta expand_vars_to_list 2012 1999 -13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>