diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 21:38:30 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 21:38:30 +0000 |
commit | 48b6c559ccf5bc74eaa7e334310e9edf367033e2 (patch) | |
tree | 14183fd728ce51ae10baee70f7d8f72c39d30649 /shell | |
parent | 04c078dac604c21cf593a3298f788f69b7f739e6 (diff) | |
download | busybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.tar.gz busybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.tar.bz2 busybox-w32-48b6c559ccf5bc74eaa7e334310e9edf367033e2.zip |
make a few struct bb_applet members conditional
rename sllep_and_die -> xfunc_die
make fflush_stdout_and_exit NOFORK-safe
fix some buglets found by randomconfig
git-svn-id: svn://busybox.net/trunk/busybox@18391 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 | ||||
-rw-r--r-- | shell/msh.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index f98fc4178..b4278424a 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -6533,7 +6533,7 @@ tryexec(char *cmd, char **argv, char **envp) | |||
6533 | 6533 | ||
6534 | #if ENABLE_FEATURE_SH_STANDALONE_SHELL | 6534 | #if ENABLE_FEATURE_SH_STANDALONE_SHELL |
6535 | if (strchr(cmd, '/') == NULL) { | 6535 | if (strchr(cmd, '/') == NULL) { |
6536 | const struct BB_applet *a; | 6536 | const struct bb_applet *a; |
6537 | 6537 | ||
6538 | a = find_applet_by_name(cmd); | 6538 | a = find_applet_by_name(cmd); |
6539 | if (a) { | 6539 | if (a) { |
diff --git a/shell/msh.c b/shell/msh.c index 3a5c85050..23a7c0498 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -3197,7 +3197,7 @@ static int dohelp(struct op *t) | |||
3197 | } | 3197 | } |
3198 | #if ENABLE_FEATURE_SH_STANDALONE_SHELL | 3198 | #if ENABLE_FEATURE_SH_STANDALONE_SHELL |
3199 | { | 3199 | { |
3200 | const struct BB_applet *applet = applets; | 3200 | const struct bb_applet *applet = applets; |
3201 | 3201 | ||
3202 | while (applet->name) { | 3202 | while (applet->name) { |
3203 | col += printf("%c%s", ((col == 0) ? '\t' : ' '), applet->name); | 3203 | col += printf("%c%s", ((col == 0) ? '\t' : ' '), applet->name); |