aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-06 19:07:39 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-06 19:07:39 +0000
commit1d3523b7aa994aeb90fec5f281617abc3c9ce195 (patch)
treefe8bdbac5d62a111131ce9d29ffda136a309fd41
parent21adca750a9a1ae47da2bd058574795089406f25 (diff)
downloadbusybox-w32-1d3523b7aa994aeb90fec5f281617abc3c9ce195.tar.gz
busybox-w32-1d3523b7aa994aeb90fec5f281617abc3c9ce195.tar.bz2
busybox-w32-1d3523b7aa994aeb90fec5f281617abc3c9ce195.zip
patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN.
-rw-r--r--Config.h12
-rw-r--r--lash.c4
-rw-r--r--sh.c4
-rw-r--r--shell/lash.c4
4 files changed, 12 insertions, 12 deletions
diff --git a/Config.h b/Config.h
index 827ff1ed0..50f9e3ac7 100644
--- a/Config.h
+++ b/Config.h
@@ -231,18 +231,18 @@
231// Enable command line editing in the shell 231// Enable command line editing in the shell
232#define BB_FEATURE_SH_COMMAND_EDITING 232#define BB_FEATURE_SH_COMMAND_EDITING
233// 233//
234//Allow the shell to invoke all the compiled in BusyBox commands as if they 234//Allow the shell to invoke all the compiled in BusyBox applets as if they
235//were shell builtins. Nice for staticly linking an emergency rescue shell 235//were shell builtins. Nice for staticly linking an emergency rescue shell,
236//among other thing. 236//among other things.
237#define BB_FEATURE_SH_STANDALONE_SHELL 237#define BB_FEATURE_SH_STANDALONE_SHELL
238// 238//
239//When this is enabled, busybox shell builtins can be called using full path 239//When this is enabled, busybox shell applets can be called using full path
240//names. This causes builtins (i.e. every single busybox command) to override 240//names. This causes applets (i.e., most busybox commands) to override
241//real commands on the filesystem. For example, if you run run /bin/cat, it 241//real commands on the filesystem. For example, if you run run /bin/cat, it
242//will use BusyBox cat even if /bin/cat exists on the filesystem and is _not_ 242//will use BusyBox cat even if /bin/cat exists on the filesystem and is _not_
243//busybox. Some systems want this, others do not. Choose wisely. :-) This 243//busybox. Some systems want this, others do not. Choose wisely. :-) This
244//only has meaning when BB_FEATURE_SH_STANDALONE_SHELL is enabled. 244//only has meaning when BB_FEATURE_SH_STANDALONE_SHELL is enabled.
245//BB_FEATURE_SH_BUILTINS_ALWAYS_WIN 245//BB_FEATURE_SH_APPLETS_ALWAYS_WIN
246// 246//
247// Enable tab completion in the shell (not yet 247// Enable tab completion in the shell (not yet
248// working very well -- so don't turn this on) 248// working very well -- so don't turn this on)
diff --git a/lash.c b/lash.c
index 1524ef16b..f96720d46 100644
--- a/lash.c
+++ b/lash.c
@@ -1260,8 +1260,8 @@ static int runCommand(struct job *newJob, struct jobSet *jobList, int inBg, int
1260 */ 1260 */
1261 search_applet.name = newJob->progs[i].argv[0]; 1261 search_applet.name = newJob->progs[i].argv[0];
1262 1262
1263#ifdef BB_FEATURE_SH_BUILTINS_ALWAYS_WIN 1263#ifdef BB_FEATURE_SH_APPLETS_ALWAYS_WIN
1264 /* If you enable BB_FEATURE_SH_BUILTINS_ALWAYS_WIN, then 1264 /* If you enable BB_FEATURE_SH_APPLETS_ALWAYS_WIN, then
1265 * if you run /bin/cat, it will use BusyBox cat even if 1265 * if you run /bin/cat, it will use BusyBox cat even if
1266 * /bin/cat exists on the filesystem and is _not_ busybox. 1266 * /bin/cat exists on the filesystem and is _not_ busybox.
1267 * Some systems want this, others do not. Choose wisely. :-) 1267 * Some systems want this, others do not. Choose wisely. :-)
diff --git a/sh.c b/sh.c
index 1524ef16b..f96720d46 100644
--- a/sh.c
+++ b/sh.c
@@ -1260,8 +1260,8 @@ static int runCommand(struct job *newJob, struct jobSet *jobList, int inBg, int
1260 */ 1260 */
1261 search_applet.name = newJob->progs[i].argv[0]; 1261 search_applet.name = newJob->progs[i].argv[0];
1262 1262
1263#ifdef BB_FEATURE_SH_BUILTINS_ALWAYS_WIN 1263#ifdef BB_FEATURE_SH_APPLETS_ALWAYS_WIN
1264 /* If you enable BB_FEATURE_SH_BUILTINS_ALWAYS_WIN, then 1264 /* If you enable BB_FEATURE_SH_APPLETS_ALWAYS_WIN, then
1265 * if you run /bin/cat, it will use BusyBox cat even if 1265 * if you run /bin/cat, it will use BusyBox cat even if
1266 * /bin/cat exists on the filesystem and is _not_ busybox. 1266 * /bin/cat exists on the filesystem and is _not_ busybox.
1267 * Some systems want this, others do not. Choose wisely. :-) 1267 * Some systems want this, others do not. Choose wisely. :-)
diff --git a/shell/lash.c b/shell/lash.c
index 1524ef16b..f96720d46 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1260,8 +1260,8 @@ static int runCommand(struct job *newJob, struct jobSet *jobList, int inBg, int
1260 */ 1260 */
1261 search_applet.name = newJob->progs[i].argv[0]; 1261 search_applet.name = newJob->progs[i].argv[0];
1262 1262
1263#ifdef BB_FEATURE_SH_BUILTINS_ALWAYS_WIN 1263#ifdef BB_FEATURE_SH_APPLETS_ALWAYS_WIN
1264 /* If you enable BB_FEATURE_SH_BUILTINS_ALWAYS_WIN, then 1264 /* If you enable BB_FEATURE_SH_APPLETS_ALWAYS_WIN, then
1265 * if you run /bin/cat, it will use BusyBox cat even if 1265 * if you run /bin/cat, it will use BusyBox cat even if
1266 * /bin/cat exists on the filesystem and is _not_ busybox. 1266 * /bin/cat exists on the filesystem and is _not_ busybox.
1267 * Some systems want this, others do not. Choose wisely. :-) 1267 * Some systems want this, others do not. Choose wisely. :-)