aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* hush: fix SIGCHLD counting code, but keep it disabled for now.Denys Vlasenko2009-05-251-19/+66
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* flash_lock, flash_unlock: new appletsDenys Vlasenko2009-05-2510-6/+112
| | | | | | | By Thierry Reding (thierry.reding AT avionic-design.de) Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make compound.tests executableDenys Vlasenko2009-05-231-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix problems with case in subshells and with "case esac"Denys Vlasenko2009-05-234-18/+42
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush_test: add some pathological compound list testsMike Frysinger2009-05-212-0/+35
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* hush_test: test for subshell function syntaxMike Frysinger2009-05-212-0/+12
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* hush_test: add subshelled case testsMike Frysinger2009-05-211-0/+12
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* hush_test: update test output to match new getopt() outputMike Frysinger2009-05-211-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* hush_test: ignore generated filesMike Frysinger2009-05-211-0/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* hdparm: fix a thinko in a previous commitDenys Vlasenko2009-05-201-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2009-05-202-217/+237
|\
| * hdparm: code shrinkDenys Vlasenko2009-05-201-171/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * hdparm: correct (t & 1) ? '0' : '5' thinko; wrap 80+ col linesDenys Vlasenko2009-05-201-43/+83
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2009-05-201-16/+19
| |\
| * | appletlib.c: prevent applet list overflowing screenDenys Vlasenko2009-05-191-9/+14
| | | | | | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | | Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2009-05-209-116/+203
|\ \ \ | | |/ | |/|
| * | hush: fix build failure when jobs are disabledMike Frysinger2009-05-201-16/+19
| |/ | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reported-by: Thomas Chou <thomas@wytron.com.tw>
| * scriptreplay: new applet. +423 bytesDenys Vlasenko2009-05-196-21/+95
| | | | | | | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * add platform tweaksDenys Vlasenko2009-05-192-79/+89
| | | | | | | | | | | | | | | | 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>
* | awk: put at least one NUL between $n. Hopefully closes 337.Denys Vlasenko2009-05-181-4/+5
|/ | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gzip: fix gzip with many files corrupting some files after firstDenys Vlasenko2009-05-181-38/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* depmod: fix handling of .gz modulesDenys Vlasenko2009-05-183-14/+47
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: small fixesDenys Vlasenko2009-05-171-12/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* line editing: add an option to emit ESC [ 6 n and use resultsDenys Vlasenko2009-05-176-35/+116
| | | | | | | | | 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>
* xmalloc_[open_]read[_close]: do not ignore xrealloc return valueDenys Vlasenko2009-05-152-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: use read_key to recognize ESC sequence.Denys Vlasenko2009-05-153-176/+158
| | | | | | | | | | | | | | | 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>
* adduser/addgroup: make system id range configurable.Denys Vlasenko2009-05-143-8/+32
| | | | | | By Tito (farmatito AT tiscali.it). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: save 80 bytes by forced de-inliningDenys Vlasenko2009-05-131-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: document when kernel started accepting string as NFS optionsDenys Vlasenko2009-05-131-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* split website off into dedicated git repoMike Frysinger2009-05-1341-5512/+0
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* TODO: add someDenys Vlasenko2009-05-133-6/+42
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Adjust names, link contributing info in main indexBernhard Reutner-Fischer2009-05-112-26/+50
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sysctl: stop abusing parser->lineDenys Vlasenko2009-05-101-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: do not risk invoking Sorcerer's Apprentice syndromeDenys Vlasenko2009-05-102-1/+4
| | | | | | examples/udhcp/simple.script: fix incorrect test for $1 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* test commitBernhard Reutner-Fischer2009-05-081-1/+0
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Revert "test commit"Bernhard Reutner-Fischer2009-05-081-0/+1
| | | | | | This reverts commit 8606aba04b9f6b82820e739f9781dfc85ae4853a. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* test commitBernhard Reutner-Fischer2009-05-081-1/+0
|
* LICENSE: update address of the FSFMike Frysinger2009-05-061-2/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* modprobe: add comment about expected modules.dep formatMike Frysinger2009-05-061-0/+5
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* depmod.pl: updates and fixes galoreMike Frysinger2009-05-051-9/+56
| | | | | | | | | 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>
* modprobe: add more useful debug pointsMike Frysinger2009-05-051-2/+10
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add .gitignore filesMike Frysinger2009-05-057-0/+66
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libunarchive: fix build failure with !FEATURE_TAR_UNAME_GNAMEMike Frysinger2009-05-051-5/+4
| | | | | | | | | | | | | | 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>
* mdev: revert last wrong commitDenys Vlasenko2009-05-041-6/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: small fix for unset -f on NOMMU.root2009-05-041-5/+5
| | | | Signed-off-by: root <root@localhost.localdomain>
* fix debug messageBernhard Reutner-Fischer2009-05-041-7/+8
| | | | | Print the mime-type only after it has been set. Add possible TODOs: use TCP_CORK, parse_config()
* hush: add more complex case to leak testcase, fix found breakageDenys Vlasenko2009-05-042-38/+47
| | | | | | | | | | | | | | | | | 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>
* hush: fix bug where in "var=val func" var's value is not visible in funcDenys Vlasenko2009-05-043-92/+109
| | | | | | | | | | | | | | | | | | | 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>
* hush: fix \<newline> handlingDenys Vlasenko2009-05-034-14/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix handling of unterminated subshell: (<eof>. Fixes bug 229.Denys Vlasenko2009-05-021-4/+11
| | | | | | | | 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>