aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* hush: shrink variable expansion codeDenys Vlasenko2010-05-201-20/+19
| | | | | | | function old new delta expand_vars_to_list 2164 2012 -152 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix var=`exit 2` not setting $? to 2Denys Vlasenko2010-05-203-5/+59
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* update shell/READMEDenys Vlasenko2010-05-201-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: eliminate 16 bytes in bssDenys Vlasenko2010-05-201-26/+22
| | | | | | | | text data bss dec hexfilename 841423 441 7572 849436 cf61cbusybox_old 841430 441 7556 849427 cf613busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: code shrinkDenys Vlasenko2010-05-201-1/+1
| | | | | | | | text data bss dec hex filename 843121 453 6828 850402 cf9e2 busybox_old 843108 453 6828 850389 cf9d5 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: support "cd -- DIR" and suchDenys Vlasenko2010-05-201-14/+32
| | | | | | | | | | | | | | | | | function old new delta skip_dash_dash - 33 +33 builtin_exit 43 48 +5 builtin_umask 121 125 +4 builtin_shift 115 119 +4 builtin_cd 71 75 +4 builtin_wait 271 274 +3 builtin_source 171 174 +3 builtin_exec 57 60 +3 builtin_eval 46 45 -1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 7/1 up/down: 59/-1) Total: 58 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: make it possible to alias one of shells to "bash"Denys Vlasenko2010-05-203-10/+37
| | | | | | | | | | | | | function old new delta packed_usage 27047 27054 +7 applet_names 2227 2232 +5 applet_main 1304 1308 +4 applet_nameofs 652 654 +2 applet_install_loc 163 164 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/0 up/down: 19/0) Total: 19 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* setkeycodes: fix handling of 0exx scancodesDenys Vlasenko2010-05-191-8/+8
| | | | | | | function old new delta setkeycodes_main 143 130 -13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: handle EDQUOT > 255 properly. closes bug 1579Denys Vlasenko2010-05-191-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: fix "set ic" command; code shrink while at it. closes bug 1765Denys Vlasenko2010-05-191-49/+37
| | | | | | | function old new delta colon 2970 2848 -122 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* losetup: support /dev/loop10 and higher. closes bug 1627Denys Vlasenko2010-05-192-26/+35
| | | | | | | | function old new delta query_loop 91 95 +4 losetup_main 288 285 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix var_leak.tests so that it actually catches the NOFORK bugDenys Vlasenko2010-05-183-9/+21
| | | | | | + document the bug better Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2010-05-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix bug which causes signal6.tests to failDenys Vlasenko2010-05-183-9/+16
| | | | | | | | function old new delta trapcmd 271 277 +6 localcmd 277 275 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix var_leak testcaseDenys Vlasenko2010-05-182-6/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix testsuite false positivesDenys Vlasenko2010-05-183-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: make bare "." set exitcode to 2Denys Vlasenko2010-05-182-29/+39
| | | | | | | | function old new delta dotcmd 300 305 +5 builtin_source 176 171 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make scripts/gen_build_files.sh standard-cleanDenys Vlasenko2010-05-181-5/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell/README: describe special builtinsDenys Vlasenko2010-05-171-108/+82
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: update bash compat todo commentDenys Vlasenko2010-05-171-7/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: make "source" a synonym for . if bash compat is onDenys Vlasenko2010-05-172-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix ". empty_file" exitcode. +5 bytesDenys Vlasenko2010-05-172-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2010-05-171-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fix insertion deep inside line (*several lines* before end)Denys Vlasenko2010-05-171-8/+15
| | | | | | | function old new delta input_backward 212 229 +17 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix false positive in signal5.testsDenys Vlasenko2010-05-172-5/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: use CONFIG_FEATURE_EDITING_MAX_LENDenys Vlasenko2010-05-172-8/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2010-05-172-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix hush-bugs/parse_err.testsDenys Vlasenko2010-05-174-7/+12
| | | | | | | | | function old new delta parse_stream 2325 2339 +14 builtin_umask 121 123 +2 builtin_type 116 114 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add two more tests which currently failDenys Vlasenko2010-05-174-0/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix signal5.testsDenys Vlasenko2010-05-172-6/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: trivial simplifications. -7 bytesDenys Vlasenko2010-05-171-14/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: add two testcases for (not yet fixed) ash bugsDenys Vlasenko2010-05-174-0/+31
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/gen_build_files.sh: revert to using /bin/shDenys Vlasenko2010-05-171-1/+1
| | | | | | People want busybox to build w/o bash, with /bin/sh = ash Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fix moving backwards across lines with wide charsDenys Vlasenko2010-05-171-21/+46
| | | | | | | function old new delta input_backward 212 208 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* consolidate ESC sequencesDenys Vlasenko2010-05-168-27/+29
| | | | | | | | | | | | | | function old new delta bell 2 - -2 CMdown 2 - -2 Ceos 4 - -4 Ceol 4 - -4 CMup 4 - -4 SOs 5 - -5 SOn 5 - -5 CMrc 9 - -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stop using LAST_SUPPORTED_WCHAR and CONFIG_LAST_SUPPORTED_WCHAR, it's confusingDenys Vlasenko2010-05-163-22/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: partially fix wide and combining chars editingTomas Heinrich2010-05-163-45/+92
| | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* findutils: Add Config.in and Kbuild to .gitignorePeter Tyser2010-05-161-0/+3
| | | | | | | These are auto-generated files and should be ignored by git. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scripts/Makefile.clean: Make Kbuild and Makefile optionalPeter Tyser2010-05-161-1/+1
| | | | | | | | | | | | | | | | During cleaning, some directories might not have a Makefile or Kbuild file. Previously scripts/Makefile.clean would spit out the following error when neither file could be found: ptyser@petert busybox $ make mrproper scripts/Makefile.clean:17: /home/user/busybox/findutils/Makefile: No such file or directory make[1]: *** No rule to make target `/home/user/busybox/findutils/Makefile'. Stop. make: *** [_clean_findutils] Error 2 This issue can be triggered by running 'make mrproper' in a freshly cloned busybox repository. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Makefile: Clean up auto-generated Kbuild and Config.in filesPeter Tyser2010-05-161-0/+2
| | | | | | | | Previously these auto-generated files were left behind after a 'make mrproper' was ran. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: mention PPID, RANDOM supportDenys Vlasenko2010-05-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* setsid: check for setsid error directlyDenys Vlasenko2010-05-161-4/+17
| | | | | | | function old new delta setsid_main 74 66 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files.sh uses bashism, document itDenys Vlasenko2010-05-151-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cttyhack: document the need to setsidDenys Vlasenko2010-05-152-4/+23
| | | | | | | function old new delta packed_usage 26988 27057 +69 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gen_build_files: use raw reads (ones which don't eat backslashes)Denys Vlasenko2010-05-141-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cttyhack: don't do anything if ctty is already availableDenys Vlasenko2010-05-141-17/+26
| | | | | | | function old new delta cttyhack_main 244 269 +25 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-1216-35/+51
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix a command with multible trailing backslashesDenys Vlasenko2010-05-123-7/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>