From af4ac77d9d13f879922ccad8a8535c24aeea0380 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 1 Feb 2001 22:43:49 +0000 Subject: Apply a patch from Larry Doolittle to add "-all" and "-none" switches to multibuild.pl. I did a little formatting adjustments to make it _very_ obvious when things stop working. I also removed the USE_PROCFS config option -- just do the right thing when USE_DEVPS_PATCH is enabled. -Erik --- shell/cmdedit.c | 3 +++ shell/lash.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/cmdedit.c b/shell/cmdedit.c index ed441d3..2e57b9a 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c @@ -54,6 +54,9 @@ #include #endif +#include "pwd_grp/pwd.h" + + static const int MAX_HISTORY = 15; /* Maximum length of the linked list for the command line history */ enum { diff --git a/shell/lash.c b/shell/lash.c index 87c37ca..b1a7b93 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1371,7 +1371,7 @@ static int pseudo_exec(struct child_prog *child) struct built_in_command *x; #ifdef BB_FEATURE_SH_STANDALONE_SHELL struct BB_applet *applet; - const char *name; + char *name; #endif /* Check if the command matches any of the non-forking builtins. -- cgit v1.1