aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-01 22:43:49 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-01 22:43:49 +0000
commitaf4ac77d9d13f879922ccad8a8535c24aeea0380 (patch)
tree47dca5ab2df8982ea929c902216bca6bf9c31f44 /shell
parentb5c29850e31ca41ee643cfe62eb8bc5f8682deb1 (diff)
downloadbusybox-af4ac77d9d13f879922ccad8a8535c24aeea0380.tar.gz
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
Diffstat (limited to 'shell')
-rw-r--r--shell/cmdedit.c3
-rw-r--r--shell/lash.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index ed441d394..2e57b9a34 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -54,6 +54,9 @@
#include <sys/stat.h>
#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 87c37caa9..b1a7b93cf 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.