diff options
author | Denis Vlasenko | 2007-04-10 21:38:30 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-04-10 21:38:30 +0000 |
commit | 335b63d8d1876ce4e172ebcc9d64544785682244 (patch) | |
tree | 14183fd728ce51ae10baee70f7d8f72c39d30649 /shell | |
parent | 07c394e69b0cfa7cd30e97ffc6edb0d857905f45 (diff) | |
download | busybox-335b63d8d1876ce4e172ebcc9d64544785682244.zip busybox-335b63d8d1876ce4e172ebcc9d64544785682244.tar.gz |
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
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 f98fc41..b427842 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -6533,7 +6533,7 @@ tryexec(char *cmd, char **argv, char **envp) #if ENABLE_FEATURE_SH_STANDALONE_SHELL if (strchr(cmd, '/') == NULL) { - const struct BB_applet *a; + const struct bb_applet *a; a = find_applet_by_name(cmd); if (a) { diff --git a/shell/msh.c b/shell/msh.c index 3a5c850..23a7c04 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -3197,7 +3197,7 @@ static int dohelp(struct op *t) } #if ENABLE_FEATURE_SH_STANDALONE_SHELL { - const struct BB_applet *applet = applets; + const struct bb_applet *applet = applets; while (applet->name) { col += printf("%c%s", ((col == 0) ? '\t' : ' '), applet->name); |