aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* man: teach it to use .lzma if requested by .configDenis Vlasenko2008-08-051-23/+45
| | | | | man: fix a case when a full pathname to manpage is given
* man: yet another fixlet to "manpage link" codeDenis Vlasenko2008-08-051-2/+3
|
* man: fixlet for man linksDenis Vlasenko2008-08-051-12/+17
|
* man: add handling of "man links", by Ivana Varekova <varekova AT redhat.com>Denis Vlasenko2008-08-052-17/+68
| | | | | | | | | | 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-0521-319/+324
| | | | | | | | | | | | | | | | | | | | | | | | 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
* - don't free user-supplied string (via -e)Bernhard Reutner-Fischer2008-08-052-6/+6
| | | | | | | | | | | | - fix helptext function old new delta chpasswd_main 300 319 +19 packed_usage 24352 24344 -8 .rodata 122227 122195 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 19/-40) Total: -21 bytes
* whitespace fixes, no code changedDenis Vlasenko2008-08-051-11/+12
|
* xargs: fix -e default to match newer GNU xargs, add SUS mandated -E.Denis Vlasenko2008-08-042-17/+29
| | | | | closes bug 4414
* modprobe: use buffering line reads (fgets) instead of reads().Denis Vlasenko2008-08-043-47/+20
| | | | | | | | | | | | | | | libbb: remove reads() function old new delta include_conf_file_act 961 980 +19 localcmd 282 284 +2 already_loaded 155 151 -4 in_cksum 58 53 -5 modprobe_main 1630 1624 -6 reads 129 - -129 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 2/3 up/down: 21/-144) Total: -123 bytes
* fix some testsuite false positivesDenis Vlasenko2008-08-043-6/+12
|
* libbb: make xrealloc_vector zero out the realloc'ed tailDenis Vlasenko2008-08-049-20/+30
| | | | | | | | | | | | | | 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
* hush: fix mishandling of a'b'c=fff as assignments. They are not.Denis Vlasenko2008-08-045-58/+127
| | | | | | | | | | | | | | function old new delta parse_stream 1920 2004 +84 done_word 715 752 +37 parse_and_run_stream 328 333 +5 builtin_exec 25 29 +4 pseudo_exec_argv 138 139 +1 run_list 2006 1999 -7 is_assignment 215 134 -81 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/2 up/down: 131/-88) Total: 43 bytes
* hush: remove a comment about already fixed bugDenis Vlasenko2008-08-031-2/+0
|
* makedevs: shrink by VladimirDenis Vlasenko2008-08-031-17/+17
| | | | | | | function old new delta makedevs_main 1071 1049 -22 packed_usage 24744 24708 -36
* ssd: fix -K/-S mixup in help textDenis Vlasenko2008-08-031-6/+6
|
* xargs: update help textDenis Vlasenko2008-08-031-6/+9
|
* xargs: fix xargs -e; added test for thatDenis Vlasenko2008-08-032-1/+26
|
* halt: signal init regardless of ENABLE_INITDenis Vlasenko2008-08-031-2/+5
|
* nameif: shrink (by Vladimir)Denis Vlasenko2008-08-011-28/+16
| | | | | | function old new delta nameif_main 668 636 -32
* makedevs: fix help text discrepanciesDenis Vlasenko2008-08-011-15/+16
|
* makedevs: shrink (by Vladimir); testsuiteDenis Vlasenko2008-08-013-86/+375
| | | | | | function old new delta makedevs_main 1153 1071 -82
* hush: support $_NUMBERS variable namesDenis Vlasenko2008-07-315-4/+19
|
* hush: fix "case ... in <newline> word)..."Denis Vlasenko2008-07-313-1/+20
|
* hush: support "pattern1|pattern2...)" in case statementsDenis Vlasenko2008-07-311-8/+18
| | | | | | parse_stream 1847 1861 +14 run_list 1995 2006 +11
* tr: fix yet another access past the end of a string (bug 4374)Denis Vlasenko2008-07-301-3/+5
|
* chpst: large code shrink by VladimirDenis Vlasenko2008-07-302-231/+209
| | | | | | | | | | | | | function old new delta chpst_main 1058 1357 +299 euidgid 56 - -56 suidgid 59 - -59 slimit 208 - -208 packed_usage 24638 24420 -218 edir 375 - -375 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 1/1 up/down: 299/-916) Total: -617 bytes
* ash: bash compat: "shift $BIGNUM" is equivalent to "shift 1"Denis Vlasenko2008-07-303-1/+20
|
* hush: trivial code shrinkDenis Vlasenko2008-07-291-8/+4
| | | | | | function old new delta builtin_continue 48 22 -26
* hush: use G.xxx instead of #define xxx G.xxx. We have too many globalsDenis Vlasenko2008-07-291-234/+198
| | | | | there and #defines get messy. Remove one write-only G.variable.
* randomconfig fixDenis Vlasenko2008-07-291-2/+2
|
* hush: small fix for repeated continue and fix for wrong loop depth countDenis Vlasenko2008-07-293-1/+17
| | | | | after Ctrl-C; with testcase for first one
* hush: fix inverted check (was making all break's to act as "break 99999")Denis Vlasenko2008-07-291-1/+1
|
* hush: fix break'ing out of {} and () groups; with testcaseDenis Vlasenko2008-07-293-13/+43
| | | | | | | | function old new delta builtin_break 93 129 +36 builtin_continue 21 47 +26 run_list 1973 1976 +3
* randomconfig fixesDenis Vlasenko2008-07-292-3/+7
|
* hush: add #defines to switch off break/continue if loops are not supportedDenis Vlasenko2008-07-298-7/+30
| | | | | | *: remove a few inline keywords no code changes
* modprobe: support for /etc/modprobe.d, by Timo Teras.Denis Vlasenko2008-07-291-63/+106
| | | | | | | | | | | | | | function old new delta include_conf_file_act - 929 +929 include_conf_recursive - 30 +30 include_conf_file2 - 30 +30 include_conf_file - 14 +14 include_conf_dir_act - 14 +14 build_dep 1011 875 -136 include_conf 922 - -922 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 0/1 up/down: 1017/-1058) Total: -41 bytes
* libbb: dump: do not use uninitialized memory. close bug 4364.Denis Vlasenko2008-07-291-4/+3
|
* tr: fix "tr [=" case. Closes bug 4374.Denis Vlasenko2008-07-281-0/+2
| | | | | | | function old new delta expand 1701 1738 +37 tr_main 472 474 +2
* hush: fix "while false; ..." exitcode; add testsuitesDenis Vlasenko2008-07-285-1/+24
|
* hush: support "break N" and "continue N"Denis Vlasenko2008-07-287-35/+82
| | | | | | | | | | | | | | | fix non-detection of builtins and applets in "v=break; ...; $v; ..." case add testsuite entries for the above function old new delta builtin_break 12 93 +81 run_list 1948 1971 +23 builtin_continue 12 21 +9 pseudo_exec_argv 132 138 +6 builtin_exec 23 25 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/0 up/down: 121/0) Total: 121 bytes
* hush: implement break and continueDenis Vlasenko2008-07-282-77/+107
| | | | | | | | | | | | function old new delta bltins 252 276 +24 builtin_continue - 12 +12 builtin_break - 12 +12 static.version_str 18 17 -1 run_list 1984 1948 -36 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/2 up/down: 48/-27) Total: 11 bytes
* hush: in run_list(), some loop_top ops seems to be superfluous.Denis Vlasenko2008-07-281-15/+15
| | | | | | | | | comment them out. Also, use separate temp variable for verification loop, helps gcc to optimize better. function old new delta run_list 2039 1984 -55
* hush: in run_list(), last_cond_code seems to be superfluous. comment it outDenis Vlasenko2008-07-281-16/+18
| | | | | | | | function old new delta run_list 2055 2039 -16 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-16) Total: -16 bytes
* hush: explain run_list() in detail; small optimizationsDenis Vlasenko2008-07-281-92/+109
| | | | | | | | | | | | function old new delta hush_main 785 786 +1 expand_variables 1447 1448 +1 builtin_exit 48 49 +1 builtin_eval 54 55 +1 run_list 2075 2055 -20 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 4/-20) Total: -16 bytes
* documentation fixDenis Vlasenko2008-07-281-3/+3
|
* hush: finish and enable optional case...esac support. Code size cost:Denis Vlasenko2008-07-284-13/+69
| | | | | | | | | | | | | | | | function old new delta run_list 1891 2075 +184 parse_stream 1764 1847 +83 expand_strvec_to_string - 83 +83 done_word 647 715 +68 static.reserved_list 144 168 +24 static.reserved_match - 12 +12 done_pipe 95 105 +10 builtin_exit 48 46 -2 builtin_eval 127 54 -73 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 5/2 up/down: 464/-75) Total: 389 bytes
* fbset: shrink code a bit moreDenis Vlasenko2008-07-271-20/+15
|
* fbset: code shrinkDenis Vlasenko2008-07-271-30/+14
| | | | | | | | | function old new delta ss - 33 +33 fbset_main 1968 1844 -124 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 33/-124) Total: -91 bytes
* netstat: code shrinkDenis Vlasenko2008-07-271-197/+96
| | | | | | | | | | | | | | | function old new delta print_inet_line - 193 +193 scan_inet_proc_line - 130 +130 unix_do_one 519 503 -16 do_info 145 97 -48 netstat_main 601 548 -53 tcp_do_one 462 61 -401 raw_do_one 513 107 -406 udp_do_one 533 119 -414 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/6 up/down: 323/-1338) Total: -1015 bytes
* style fix, no code changesDenis Vlasenko2008-07-271-2/+2
|