Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | win32: ash: struct tblentry | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+55 | |
| | | | ||||||
| * | | win32: ash: struct strlist | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+13 | |
| | | | ||||||
| * | | win32: ash: struct localvar | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+16 | |
| | | | ||||||
| * | | win32: ash: struct var | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+18 | |
| | | | ||||||
| * | | win32: ash: macros for implementing simple foo_size, foo_copy | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+35 | |
| | | | ||||||
| * | | win32: Support saving pointer location in calcsize()/copynode() | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+45 | |
| | | | ||||||
| * | | win32: ash: nodeckstrdup(): tolerate NULL string | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+3 | |
| | | | ||||||
| * | | win32: ash: FIXME | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | win32: ash: reimplement waitpid(-1) | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+53 | |
| | | | ||||||
| * | | win32: ash: find_command(): also find .exe | Nguyễn Thái Ngọc Duy | 2010-09-14 | 1 | -0/+21 | |
| | | | ||||||
| * | | win32: ash: openredirect(): support /dev/null | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+25 | |
| | | | ||||||
| * | | win32: ash: copyfd(): work around fcntl(F_DUPFD) | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+12 | |
| | | | ||||||
| * | | win32: ash: stay away from fcntl(F_DUPFD) | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -2/+2 | |
| | | | ||||||
| * | | win32: ash: new implementation for updatepwd() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+93 | |
| | | | ||||||
| * | | win32: ash: path_advance(): save space for .exe later | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -1/+3 | |
| | | | ||||||
| * | | win32: ash: path_advance(): support both colon and semicolon as path separator | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+10 | |
| | | | ||||||
| * | | win32: ash: preadbuffer(): accept \r\n as line ending | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -1/+1 | |
| | | | ||||||
| * | | win32: ash: shellexec(): support both / and \ as dir separator | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -3/+4 | |
| | | | ||||||
| * | | win32: ash: is_absolute_path() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -2/+2 | |
| | | | ||||||
| * | | win32: ash: skip O_APPEND support | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -2/+2 | |
| | | | ||||||
| * | | win32: ash: exptilde(): do not call (unsupported) getpwnam() | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+2 | |
| | | | ||||||
| * | | win32: ash: forkshell(): return early, MinGW port will have another way to ↵ | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+3 | |
| | | | | | | | | | | | | "fork" | |||||
| * | | win32: ash: waitcmd(): return early, not supported | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+3 | |
| | | | ||||||
| * | | win32: ash: setsignal(): return early, signalling is not supported | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+2 | |
| | | | ||||||
* | | | win32: shell/builtin_ulimit.c | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+9 | |
|/ / | ||||||
* / | win32: ash: #ifdef | Nguyễn Thái Ngọc Duy | 2010-09-10 | 1 | -0/+11 | |
|/ | ||||||
* | ash: line up builtin table. no code changes | Denys Vlasenko | 2010-03-26 | 1 | -45/+45 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | ash: trap with bad signal name should not abort | Denys Vlasenko | 2010-03-26 | 3 | -4/+19 | |
| | | | | | | | function old new delta trapcmd 236 271 +35 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | *: merge some common strings | Denys Vlasenko | 2010-03-23 | 1 | -1/+1 | |
| | | | | | | | | text data bss dec hexfilename 838650 8009 0 846659 ceb43busybox_old 838519 8009 0 846528 ceac0busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | ash,hush: make it possible to build them individually | Denys Vlasenko | 2010-03-23 | 2 | -6/+11 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | ash: fix quadratic matching slowdown is ${v/*foo*/repl} (really bad one) | Denys Vlasenko | 2010-03-13 | 1 | -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> | |||||
* | shell/ulimit: code shrink by 10 bytes | Denys Vlasenko | 2010-03-08 | 1 | -4/+5 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | hush: use ash's ulimit builtin; make it more more bash0like while at it | Denys Vlasenko | 2010-03-06 | 5 | -215/+253 | |
| | | | | | | | | | | | | | | | | | | | 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 pointers | Denys Vlasenko | 2010-03-05 | 1 | -1/+1 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | Replace __uClinux__ define with !BB_MMU | Denys Vlasenko | 2010-02-21 | 1 | -1/+1 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | fix bug 1087. Fix by Leonid (lly.dev AT gmail.com) | Denys Vlasenko | 2010-02-21 | 3 | -2/+8 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | hush: note a FIXME | Denys Vlasenko | 2010-02-08 | 1 | -0/+1 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | style fixes, no code changes | Denys Vlasenko | 2010-01-28 | 1 | -1/+1 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | *: style fixes. no code changes (verified with objdump) | Denys Vlasenko | 2010-01-28 | 2 | -7/+13 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | hush: more "greppable" field names. no code changes | Denys Vlasenko | 2010-01-28 | 1 | -13/+13 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | whitespace fixes | Denys Vlasenko | 2010-01-25 | 3 | -11/+11 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | randomconfig fixes | Denys Vlasenko | 2010-01-24 | 1 | -1/+1 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | ash: remove config items for read options which are no longer optional | Denys Vlasenko | 2010-01-13 | 1 | -17/+0 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | shell/read: check that variable names are sane | Denys Vlasenko | 2010-01-13 | 5 | -24/+26 | |
| | | | | | | | | | | 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> | |||||
* | builtin_read: note about better implementation | Denys Vlasenko | 2010-01-13 | 1 | -0/+5 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | hush: use ash's read builtin | Denys Vlasenko | 2010-01-12 | 18 | -49/+124 | |
| | | | | | | | | | | | | | | | | | 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> | |||||
* | shell/read: fix "'read' without parameters" bash compat thingy | Denys Vlasenko | 2010-01-12 | 1 | -31/+39 | |
| | | | | | | | | | | | | | | | | | | | | previous change: function old new delta builtin_read 82 1074 +992 popstring 134 140 +6 readcmd 1034 148 -886 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 998/-886) Total: 112 bytes this change: builtin_read 1074 1096 +22 static.arg_REPLY 8 - -8 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 22/-8) Total: 14 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | shell: split read builtin from ash | Denys Vlasenko | 2010-01-12 | 12 | -213/+379 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | hush: fix potential buffer overflow on NOMMU | Denys Vlasenko | 2010-01-12 | 1 | -3/+6 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | |||||
* | hush: fix subshell.tests failure on NOMMU | Denys Vlasenko | 2010-01-12 | 3 | -41/+88 | |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |