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
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user