summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-04mdev: revert last wrong commitDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-04hush: small fix for unset -f on NOMMU.root
Signed-off-by: root <root@localhost.localdomain>
2009-05-04fix debug messageBernhard Reutner-Fischer
Print the mime-type only after it has been set. Add possible TODOs: use TCP_CORK, parse_config()
2009-05-04hush: add more complex case to leak testcase, fix found breakageDenys Vlasenko
function old new delta unset_local_var_len - 167 +167 run_list 2350 2457 +107 set_vars_and_save_old - 87 +87 free_pipe 207 227 +20 builtin_unset 220 229 +9 builtin_exit 49 47 -2 free_strings_and_unset 53 - -53 set_vars_all_and_save_old 87 - -87 unset_local_var 168 - -168 ------------------------------------------------------------------------------ (add/remove: 2/3 grow/shrink: 3/1 up/down: 390/-310) Total: 80 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-04hush: fix bug where in "var=val func" var's value is not visible in funcDenys Vlasenko
function old new delta unset_local_var - 168 +168 set_vars_all_and_save_old - 87 +87 get_ptr_to_local_var - 77 +77 free_strings_and_unset - 53 +53 builtin_export 266 274 +8 get_local_var_value 31 33 +2 putenv_all 27 - -27 free_strings_and_unsetenv 53 - -53 get_local_var 68 - -68 run_list 2475 2350 -125 builtin_unset 380 220 -160 ------------------------------------------------------------------------------ (add/remove: 4/3 grow/shrink: 2/2 up/down: 395/-433) Total: -38 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-03hush: fix \<newline> handlingDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-02hush: fix handling of unterminated subshell: (<eof>. Fixes bug 229.Denys Vlasenko
function old new delta syntax_error_unexpected_ch 31 41 +10 parse_stream 2184 2191 +7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-02mdev: do not exit if user:group parse failed. closes bug 309.Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-02hush: fix multiple redirections of the same fd (bug 227)Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-02hush: make . cmd search $PATHDenys Vlasenko
function old new delta builtin_source 128 249 +121 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-02httpd: speed up httpd.conf at the cost of 49 bytes of codeDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-01ifplugd: fix warningsDenys Vlasenko
2009-05-01des encrypt: fix goof with NUL byte added at the end as '.'Denys Vlasenko
2009-05-01mdev: fix a case where we mangle device_path string and then use it.Denys Vlasenko
2009-05-01Make it clearer that usually people should _NOT_Denys Vlasenko
select FEATURE_UNIX_LOCAL.
2009-04-30git commit testDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-04-29*: bb_error_msg's messages should not be capitalizedDenis Vlasenko
2009-04-29lzop: new applet. Busyboxed by Alain Knaff. +7700 bytes.Denis Vlasenko
2009-04-27hush: make it possible to have interactive shell on non-ctty.Denis Vlasenko
init=/bin/hush: shows prompt, history works, etc. function old new delta hush_main 888 925 +37 block_signals 139 152 +13 builtin_fg_bg 284 293 +9 checkjobs_and_fg_shell 35 41 +6 sigexit 65 66 +1 reset_traps_to_defaults 165 164 -1 parse_stream 2200 2184 -16 run_list 2502 2475 -27 getpgid 35 - -35 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 5/3 up/down: 66/-79) Total: -13 bytes
2009-04-26make leak test more robust by unsetting all varsDenis Vlasenko
2009-04-26hush: make getopt32 usable in builtins. use it in unset.Denis Vlasenko
more uses are expected in the future. function old new delta getopt32 1356 1393 +37 builtin_export 256 266 +10 builtin_unset 418 380 -38
2009-04-26hush: nommu fix for function passingDenis Vlasenko
2009-04-26hush: fix SEGV in % expansionDenis Vlasenko
function old new delta expand_variables 2203 2217 +14
2009-04-26ifplugd: tiny shrinkDenis Vlasenko
2009-04-26ifplugd: add copyrightDenis Vlasenko
2009-04-26ifplugd: new applet by Maksym Kryzhanovskyy (xmaks AT email.cz)Denis Vlasenko
+3k code and 0.5k in messages. Most of the bloat due to compat :(
2009-04-25shrink if FEATURE_SHADOWPASSWDS is offDenis Vlasenko
2009-04-25add FEATURE_UNIX_LOCAL. By Ingo van Lil (inguin AT gmx.de)Denis Vlasenko
2009-04-25unlzma: speedup, by Pascal Bellard (pascal.bellard AT ads-lu.com)Denis Vlasenko
LZMA_FAST off: 10% faster and: function old new delta rc_is_bit_1 - 92 +92 rc_do_normalize 45 81 +36 rc_update_bit_1 25 - -25 rc_update_bit_0 30 - -30 rc_is_bit_0_helper 38 - -38 rc_get_bit 60 17 -43 rc_read 48 - -48 unpack_lzma_stream 1768 1517 -251 ------------------------------------------------------------------------------ (add/remove: 1/4 grow/shrink: 1/2 up/down: 128/-435) Total: -307 bytes LZMA_FAST on: 14% faster and: unpack_lzma_stream 2301 2737 +436 rc_get_bit 106 - -106
2009-04-25we need to daemonize *before* opening the watchdog deviceMike Frysinger
2009-04-24do not tell people they can enter "help" if help has actually been disabledMike Frysinger
2009-04-24use get_local_var_value() rather than getenv() when working with ↵Mike Frysinger
PS1/PS2/HOME, respect the PS2 env var, and make sure that the prompt changes whenever PS1/PS2 changes so we dont have to re-exec the shell to get a changed prompt
2009-04-22inetd: constify dataDenis Vlasenko
2009-04-22adduser/addgroup: support specifying uid/gid, add systemDenis Vlasenko
account creation mode. By Tito. function old new delta adduser_main 650 726 +76 addgroup_main 341 402 +61 addgroup_longopts - 16 +16 adduser_longopts 97 103 +6 packed_usage 26161 26163 +2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 161/0) Total: 161 bytes
2009-04-22httpd: fix small bug in parser. it crept in during cleanupDenis Vlasenko
2009-04-22httpd: allow empty lines in conf fileDenis Vlasenko
2009-04-22httpd: simplify insane conf file parserDenis Vlasenko
function old new delta bb_simplify_abs_path_inplace - 98 +98 parse_expr 824 832 +8 passwd_main 1025 1027 +2 evalvar 1374 1376 +2 parse_command 1463 1460 -3 bb_simplify_path 137 55 -82 parse_conf 1572 1422 -150 ------------------------------------------------------------------------------ (add/remove: 3/2 grow/shrink: 3/3 up/down: 126/-251) Total: -125 bytes
2009-04-22syslogd: added comment, no code changesDenis Vlasenko
2009-04-22httpd: improve help textDenis Vlasenko
2009-04-21nc: free lsa in server mode, we might be up for a long timeDenis Vlasenko
2009-04-21*: remove check for errors on getsockaddr in cases we know they can't happenDenis Vlasenko
libbb: make get_sock_lsa use only one getsockaddr syscall, not two function old new delta get_sock_lsa 72 101 +29 do_iplink 1151 1137 -14 arping_main 1585 1569 -16 dolisten 789 755 -34 xrtnl_open 161 94 -67
2009-04-21switch_root: move misplaced commentDenis Vlasenko
2009-04-21switch_root: improve behavior on error; improve help textDenis Vlasenko
*: make "can't execute '%s'" message uniform
2009-04-21hush: speed up set_local_varDenis Vlasenko
function old new delta set_local_var 265 290 +25
2009-04-21*: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
2009-04-21tar: support for tar --numeric-owner. By Natanael Copa.Denis Vlasenko
function old new delta tar_longopts 221 237 +16 data_extract_all 692 705 +13 tar_main 690 702 +12
2009-04-21udhcpc: fix truncation of last char in client hostnamesDenis Vlasenko
2009-04-21switch_root: print errno on failureDenis Vlasenko
2009-04-21tweak example udhcp scriptDenis Vlasenko
2009-04-20hush: export -n supportDenis Vlasenko
function old new delta builtin_export 206 256 +50 set_local_var 248 265 +17 expand_variables 2204 2203 -1