aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| |
* | win32: ash: struct varNguyễn Thái Ngọc Duy2010-09-141-0/+18
| |
* | win32: ash: macros for implementing simple foo_size, foo_copyNguyễn Thái Ngọc Duy2010-09-141-0/+35
| |
* | win32: Support saving pointer location in calcsize()/copynode()Nguyễn Thái Ngọc Duy2010-09-141-0/+45
| |
* | win32: ash: nodeckstrdup(): tolerate NULL stringNguyễn Thái Ngọc Duy2010-09-141-1/+3
| |
* | win32: ash: FIXMENguyễn Thái Ngọc Duy2010-09-141-1/+1
| |
* | win32: ash: reimplement waitpid(-1)Nguyễn Thái Ngọc Duy2010-09-141-0/+53
| |
* | win32: ash: find_command(): also find .exeNguyễn Thái Ngọc Duy2010-09-141-0/+21
| |
* | win32: ash: openredirect(): support /dev/nullNguyễn Thái Ngọc Duy2010-09-101-0/+25
| |
* | win32: ash: copyfd(): work around fcntl(F_DUPFD)Nguyễn Thái Ngọc Duy2010-09-101-0/+12
| |
* | win32: ash: stay away from fcntl(F_DUPFD)Nguyễn Thái Ngọc Duy2010-09-101-2/+2
| |
* | win32: ash: new implementation for updatepwd()Nguyễn Thái Ngọc Duy2010-09-101-0/+93
| |
* | win32: ash: path_advance(): save space for .exe laterNguyễn Thái Ngọc Duy2010-09-101-1/+3
| |
* | win32: ash: path_advance(): support both colon and semicolon as path separatorNguyễn Thái Ngọc Duy2010-09-101-0/+10
| |
* | win32: ash: preadbuffer(): accept \r\n as line endingNguyễn Thái Ngọc Duy2010-09-101-1/+1
| |
* | win32: ash: shellexec(): support both / and \ as dir separatorNguyễn Thái Ngọc Duy2010-09-101-3/+4
| |
* | win32: ash: is_absolute_path()Nguyễn Thái Ngọc Duy2010-09-101-2/+2
| |
* | win32: ash: skip O_APPEND supportNguyễn Thái Ngọc Duy2010-09-101-2/+2
| |
* | win32: ash: exptilde(): do not call (unsupported) getpwnam()Nguyễn Thái Ngọc Duy2010-09-101-0/+2
| |
* | win32: ash: forkshell(): return early, MinGW port will have another way to ↵Nguyễn Thái Ngọc Duy2010-09-101-0/+3
| | | | | | | | "fork"
* | win32: ash: waitcmd(): return early, not supportedNguyễn Thái Ngọc Duy2010-09-101-0/+3
| |
* | win32: ash: setsignal(): return early, signalling is not supportedNguyễn Thái Ngọc Duy2010-09-101-0/+2
| |
* | win32: ash: #ifdefNguyễn Thái Ngọc Duy2010-09-101-0/+11
|/
* ash: line up builtin table. no code changesDenys Vlasenko2010-03-261-45/+45
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: trap with bad signal name should not abortDenys Vlasenko2010-03-261-4/+10
| | | | | | | function old new delta trapcmd 236 271 +35 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: make it possible to build them individuallyDenys Vlasenko2010-03-231-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix quadratic matching slowdown is ${v/*foo*/repl} (really bad one)Denys Vlasenko2010-03-131-12/+59
| | | | | | | | | | | | | | | | | It is especially bad with patterns starting with "*". With ASH_OPTIMIZE_FOR_SIZE=y, only those are optimized, +few bytes: text data bss dec hex filename 836337 441 7564 844342 ce236 busybox_old 836341 441 7564 844346 ce23a busybox_unstripped With ASH_OPTIMIZE_FOR_SIZE off, we also optimize patterns _ending_ with "*", which costs about 80 bytes: text data bss dec hex filename 836656 441 7564 844661 ce375 busybox_old 836732 441 7564 844737 ce3c1 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: use ash's ulimit builtin; make it more more bash0like while at itDenys Vlasenko2010-03-061-211/+3
| | | | | | | | | | | | | | | | | | | Based on a patch by Tobias Klauser <tklauser@distanz.ch> function old new delta shell_builtin_ulimit - 498 +498 limits_tbl 33 88 +55 ulimit_opt_string - 38 +38 bltins1 288 300 +12 limits_name 127 - -127 ulimitcmd 415 7 -408 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 603/-535) Total: 68 bytes text data bss dec hex filename 839229 453 6828 846510 ceaae busybox_old 839423 453 6828 846704 ceb70 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use NULL for null pointersDenys Vlasenko2010-03-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Replace __uClinux__ define with !BB_MMUDenys Vlasenko2010-02-211-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bug 1087. Fix by Leonid (lly.dev AT gmail.com)Denys Vlasenko2010-02-211-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell/read: check that variable names are saneDenys Vlasenko2010-01-131-4/+0
| | | | | | | | | | function old new delta shell_builtin_read 1000 1055 +55 parse_command 1460 1463 +3 builtin_umask 121 123 +2 is_well_formed_var_name 73 66 -7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: use ash's read builtinDenys Vlasenko2010-01-121-4/+10
| | | | | | | | | | | | | | | | | function old new delta shell_builtin_read - 1000 +1000 set_local_var_from_halves - 24 +24 setvar2 - 7 +7 ... popstring 140 134 -6 ash_main 1375 1368 -7 setvar 184 174 -10 arith_set_local_var 36 - -36 builtin_read 1096 185 -911 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 5/23 up/down: 1038/-1007) Total: 31 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>