aboutsummaryrefslogtreecommitdiff
path: root/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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-201-10/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-143-9/+22
|\| | | | | | | | | Conflicts: shell/ash.c
| * 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>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-1418-199/+285
|\|
| * 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-182-8/+15
| | | | | | | | | | | | | | | | 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>
| * 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>
| * 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-171-7/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fixDenys Vlasenko2010-05-171-1/+1
| | | | | | | | 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>
| * ash: add two testcases for (not yet fixed) ash bugsDenys Vlasenko2010-05-174-0/+31
| | | | | | | | 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>
| * cttyhack: document the need to setsidDenys Vlasenko2010-05-151-2/+13
| | | | | | | | | | | | | | function old new delta packed_usage 26988 27057 +69 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>
| * ash: refresh stack pointers after makestrspace in rmescapesColin Watson2010-04-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this, rmescapes sometimes returns random garbage while performing parameter expansions such as ${foo#bar}, in the event that the allocation of r happens to need to reallocate the stack and hence invalidate str and p. I'd love to provide a test case but unfortunately it's dependent on exact stack layout, so I don't have anything simpler than the situation described in https://bugs.launchpad.net/ubuntu/+source/partman-base/+bug/527401/comments/23 which involved a sequence of foo="${foo#*, }" expansions on a long string inside our RAID configuration tool. The same fix has been in dash since 2007-09-26, contributed by Roy Marples <uberlord@gentoo.org>. I actually came up with it independently almost to the character, but then synced it up with the variable naming used in dash when I noticed that change afterwards. Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'ash'Nguyễn Thái Ngọc Duy2010-09-141-14/+1074
|\ \
| * | win32: ash: support .com executablesNguyễn Thái Ngọc Duy2010-09-141-2/+9
| | |
| * | win32: ash: general comments about MinGW portNguyễn Thái Ngọc Duy2010-09-141-0/+12
| | |
| * | win32: ash: do not set PPIDNguyễn Thái Ngọc Duy2010-09-141-1/+2
| | |
| * | win32: ash: work around case-insensitive env varsNguyễn Thái Ngọc Duy2010-09-141-0/+27
| | |
| * | win32: ash: shellexecNguyễn Thái Ngọc Duy2010-09-141-0/+35
| | |
| * | win32: ash: evalpipeNguyễn Thái Ngọc Duy2010-09-141-0/+38
| | |
| * | win32: ash: evalsubshellNguyễn Thái Ngọc Duy2010-09-141-0/+26
| | |
| * | win32: ash: evalbackcmdNguyễn Thái Ngọc Duy2010-09-141-0/+30
| | |
| * | win32: ash: openhereNguyễn Thái Ngọc Duy2010-09-141-0/+39
| | |
| * | win32: ash: sticky_free()Nguyễn Thái Ngọc Duy2010-09-141-0/+15
| | |
| * | win32: ash: forkshell_init()Nguyễn Thái Ngọc Duy2010-09-141-0/+68
| | |
| * | win32: ash: spawn_forkshell()Nguyễn Thái Ngọc Duy2010-09-141-0/+24
| | |
| * | win32: ash: forkshell_prepare()Nguyễn Thái Ngọc Duy2010-09-141-0/+70
| | |
| * | win32: ash: struct forkshellNguyễn Thái Ngọc Duy2010-09-141-0/+75
| | |
| * | win32: ash: struct globals_miscNguyễn Thái Ngọc Duy2010-09-141-0/+34
| | |
| * | win32: ash: struct globals_varNguyễn Thái Ngọc Duy2010-09-141-0/+57
| | |
| * | win32: ash: struct redirtabNguyễn Thái Ngọc Duy2010-09-141-0/+33
| | |
| * | win32: ash: char **Nguyễn Thái Ngọc Duy2010-09-141-0/+34
| | |
| * | win32: ash: struct tblentry **cmdtableNguyễn Thái Ngọc Duy2010-09-141-0/+24
| | |
| * | win32: ash: struct tblentryNguyễn Thái Ngọc Duy2010-09-141-0/+55
| | |
| * | win32: ash: struct strlistNguyễn Thái Ngọc Duy2010-09-141-0/+13
| | |
| * | win32: ash: struct localvarNguyễn Thái Ngọc Duy2010-09-141-0/+16
| | |