diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-04 20:24:37 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-04 20:24:37 +0000 |
commit | 34d4d89b2d3337ea1486d98ea979c1594a6a5efe (patch) | |
tree | 1ce6c4b4da6699c66733392c27f8dfc115e2edab /shell/ash.c | |
parent | 552433bc5af76c8e5b52278b3d609e9a18c19dc2 (diff) | |
download | busybox-w32-34d4d89b2d3337ea1486d98ea979c1594a6a5efe.tar.gz busybox-w32-34d4d89b2d3337ea1486d98ea979c1594a6a5efe.tar.bz2 busybox-w32-34d4d89b2d3337ea1486d98ea979c1594a6a5efe.zip |
hush: fix NOMMU hangs in pseudo_exec_argv. Add forgotted setting
of signal mask. Reuse same help string in all shells.
function old new delta
builtin_exit 49 47 -2
pseudo_exec_argv 149 145 -4
builtin_help 74 63 -11
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-17) Total: -17 bytes
text data bss dec hex filename
825379 476 7616 833471 cb7bf busybox_old
825341 476 7616 833433 cb799 busybox_unstripped
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 1cd205068..fe8c1bed2 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -12230,7 +12230,9 @@ helpcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
12230 | unsigned col; | 12230 | unsigned col; |
12231 | unsigned i; | 12231 | unsigned i; |
12232 | 12232 | ||
12233 | out1fmt("\nBuilt-in commands:\n-------------------\n"); | 12233 | out1fmt("\n" |
12234 | "Built-in commands:\n" | ||
12235 | "------------------\n"); | ||
12234 | for (col = 0, i = 0; i < ARRAY_SIZE(builtintab); i++) { | 12236 | for (col = 0, i = 0; i < ARRAY_SIZE(builtintab); i++) { |
12235 | col += out1fmt("%c%s", ((col == 0) ? '\t' : ' '), | 12237 | col += out1fmt("%c%s", ((col == 0) ? '\t' : ' '), |
12236 | builtintab[i].name + 1); | 12238 | builtintab[i].name + 1); |