aboutsummaryrefslogtreecommitdiff
path: root/shell/msh.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-04 20:24:37 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-04 20:24:37 +0000
commit34d4d89b2d3337ea1486d98ea979c1594a6a5efe (patch)
tree1ce6c4b4da6699c66733392c27f8dfc115e2edab /shell/msh.c
parent552433bc5af76c8e5b52278b3d609e9a18c19dc2 (diff)
downloadbusybox-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/msh.c')
-rw-r--r--shell/msh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/msh.c b/shell/msh.c
index 5f8c90ef6..da1dc3576 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -35,7 +35,6 @@
35# include <assert.h> 35# include <assert.h>
36# define bb_dev_null "/dev/null" 36# define bb_dev_null "/dev/null"
37# define DEFAULT_SHELL "/proc/self/exe" 37# define DEFAULT_SHELL "/proc/self/exe"
38# define CONFIG_BUSYBOX_EXEC_PATH "/proc/self/exe"
39# define bb_banner "busybox standalone" 38# define bb_banner "busybox standalone"
40# define ENABLE_FEATURE_SH_STANDALONE 0 39# define ENABLE_FEATURE_SH_STANDALONE 0
41# define bb_msg_memory_exhausted "memory exhausted" 40# define bb_msg_memory_exhausted "memory exhausted"
@@ -3176,8 +3175,9 @@ static int dohelp(struct op *t UNUSED_PARAM, char **args UNUSED_PARAM)
3176 int col; 3175 int col;
3177 const struct builtincmd *x; 3176 const struct builtincmd *x;
3178 3177
3179 puts("\nBuilt-in commands:\n" 3178 printf("\n"
3180 "-------------------"); 3179 "Built-in commands:\n"
3180 "------------------\n");
3181 3181
3182 col = 0; 3182 col = 0;
3183 x = builtincmds; 3183 x = builtincmds;