aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-23hush: fix problems with case in subshells and with "case esac"Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-21hush_test: add some pathological compound list testsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-21hush_test: test for subshell function syntaxMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-21hush_test: add subshelled case testsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-21hush_test: update test output to match new getopt() outputMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-21hush_test: ignore generated filesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-20hdparm: fix a thinko in a previous commitDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-20Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko
2009-05-20hdparm: code shrinkDenys Vlasenko
function old new delta parse_opts_0_INTMAX - 12 +12 parse_opts_0_1 - 12 +12 parse_opts_0_max - 9 +9 parse_opts 44 36 -8 process_dev 4679 4578 -101 hdparm_main 1061 854 -207 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 0/3 up/down: 33/-316) Total: -283 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-20hdparm: correct (t & 1) ? '0' : '5' thinko; wrap 80+ col linesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-20Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko
2009-05-20Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko
2009-05-20hush: fix build failure when jobs are disabledMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reported-by: Thomas Chou <thomas@wytron.com.tw>
2009-05-19appletlib.c: prevent applet list overflowing screenDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-19scriptreplay: new applet. +423 bytesDenys Vlasenko
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-19add platform tweaksDenys Vlasenko
login: consider platforms having no domainname field in the utsname struct include/platform.h: define IUCLC to 0 on platforms where it is not defined Signed-off-by: Luca Favatella <slackydeb@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-18awk: put at least one NUL between $n. Hopefully closes 337.Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-18gzip: fix gzip with many files corrupting some files after firstDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-18depmod: fix handling of .gz modulesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-17lineedit: small fixesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-17line editing: add an option to emit ESC [ 6 n and use resultsDenys Vlasenko
This makes line editing able to recognize case when cursor was not at the beginning of the line. It may also be adapted later to find out display size (serial line users would love it). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-15xmalloc_[open_]read[_close]: do not ignore xrealloc return valueDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-15lineedit: use read_key to recognize ESC sequence.Denys Vlasenko
This fixes several vi mode bugs and prepares for further fixes. function old new delta read_line_input 3287 5511 +2224 remember_in_history - 499 +499 lineedit_read_key - 70 +70 read_key 321 332 +11 input_tab 2823 - -2823 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 2/0 up/down: 2804/-2823) Total: -19 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-14adduser/addgroup: make system id range configurable.Denys Vlasenko
By Tito (farmatito AT tiscali.it). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-13mount: save 80 bytes by forced de-inliningDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-13mount: document when kernel started accepting string as NFS optionsDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-13split website off into dedicated git repoMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-13TODO: add someDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-11Adjust names, link contributing info in main indexBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-05-10sysctl: stop abusing parser->lineDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-10tftp: do not risk invoking Sorcerer's Apprentice syndromeDenys Vlasenko
examples/udhcp/simple.script: fix incorrect test for $1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-08test commitBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-05-08Revert "test commit"Bernhard Reutner-Fischer
This reverts commit 8606aba04b9f6b82820e739f9781dfc85ae4853a. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-05-08test commitBernhard Reutner-Fischer
2009-05-06LICENSE: update address of the FSFMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-06modprobe: add comment about expected modules.dep formatMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-05depmod.pl: updates and fixes galoreMike Frysinger
The helper script needs updating to match latest busybox modprobe behavior in that all dependencies need to be listed, not just the immediate ones. Along the way, fix symbol prefixed ports, optimize the output, and add some more depmod compatible options. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-05modprobe: add more useful debug pointsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-05add .gitignore filesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-05libunarchive: fix build failure with !FEATURE_TAR_UNAME_GNAMEMike Frysinger
We can't use C if(...) with ENABLE_FEATURE_TAR_UNAME_GNAME because it relies on conditional members in the file_header_t structure: archival/libunarchive/data_extract_all.c: In function ‘data_extract_all’: archival/libunarchive/data_extract_all.c:123: error: ‘file_header_t’ has no member named ‘uname’ archival/libunarchive/data_extract_all.c:124: error: ‘file_header_t’ has no member named ‘uname’ archival/libunarchive/data_extract_all.c:127: error: ‘file_header_t’ has no member named ‘gname’ archival/libunarchive/data_extract_all.c:128: error: ‘file_header_t’ has no member named ‘gname’ make[1]: *** [archival/libunarchive/data_extract_all.o] Error 1 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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>