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-w32-af4ac77d9d13f879922ccad8a8535c24aeea0380.tar.gz
busybox-w32-af4ac77d9d13f879922ccad8a8535c24aeea0380.tar.bz2
busybox-w32-af4ac77d9d13f879922ccad8a8535c24aeea0380.zip
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 @@
54#include <sys/stat.h> 54#include <sys/stat.h>
55#endif 55#endif
56 56
57#include "pwd_grp/pwd.h"
58
59
57static const int MAX_HISTORY = 15; /* Maximum length of the linked list for the command line history */ 60static const int MAX_HISTORY = 15; /* Maximum length of the linked list for the command line history */
58 61
59enum { 62enum {
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)
1371 struct built_in_command *x; 1371 struct built_in_command *x;
1372#ifdef BB_FEATURE_SH_STANDALONE_SHELL 1372#ifdef BB_FEATURE_SH_STANDALONE_SHELL
1373 struct BB_applet *applet; 1373 struct BB_applet *applet;
1374 const char *name; 1374 char *name;
1375#endif 1375#endif
1376 1376
1377 /* Check if the command matches any of the non-forking builtins. 1377 /* Check if the command matches any of the non-forking builtins.