summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-12-06 19:07:39 +0000
committerEric Andersen2000-12-06 19:07:39 +0000
commit1d3523b7aa994aeb90fec5f281617abc3c9ce195 (patch)
treefe8bdbac5d62a111131ce9d29ffda136a309fd41
parent21adca750a9a1ae47da2bd058574795089406f25 (diff)
downloadbusybox-1d3523b7aa994aeb90fec5f281617abc3c9ce195.zip
busybox-1d3523b7aa994aeb90fec5f281617abc3c9ce195.tar.gz
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 827ff1e..50f9e3a 100644
--- a/Config.h
+++ b/Config.h
@@ -231,18 +231,18 @@
// Enable command line editing in the shell
#define BB_FEATURE_SH_COMMAND_EDITING
//
-//Allow the shell to invoke all the compiled in BusyBox commands as if they
-//were shell builtins. Nice for staticly linking an emergency rescue shell
-//among other thing.
+//Allow the shell to invoke all the compiled in BusyBox applets as if they
+//were shell builtins. Nice for staticly linking an emergency rescue shell,
+//among other things.
#define BB_FEATURE_SH_STANDALONE_SHELL
//
-//When this is enabled, busybox shell builtins can be called using full path
-//names. This causes builtins (i.e. every single busybox command) to override
+//When this is enabled, busybox shell applets can be called using full path
+//names. This causes applets (i.e., most busybox commands) to override
//real commands on the filesystem. For example, if you run run /bin/cat, it
//will use BusyBox cat even if /bin/cat exists on the filesystem and is _not_
//busybox. Some systems want this, others do not. Choose wisely. :-) This
//only has meaning when BB_FEATURE_SH_STANDALONE_SHELL is enabled.
-//BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
+//BB_FEATURE_SH_APPLETS_ALWAYS_WIN
//
// Enable tab completion in the shell (not yet
// working very well -- so don't turn this on)
diff --git a/lash.c b/lash.c
index 1524ef1..f96720d 100644
--- a/lash.c
+++ b/lash.c
@@ -1260,8 +1260,8 @@ static int runCommand(struct job *newJob, struct jobSet *jobList, int inBg, int
*/
search_applet.name = newJob->progs[i].argv[0];
-#ifdef BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
- /* If you enable BB_FEATURE_SH_BUILTINS_ALWAYS_WIN, then
+#ifdef BB_FEATURE_SH_APPLETS_ALWAYS_WIN
+ /* If you enable BB_FEATURE_SH_APPLETS_ALWAYS_WIN, then
* if you run /bin/cat, it will use BusyBox cat even if
* /bin/cat exists on the filesystem and is _not_ busybox.
* Some systems want this, others do not. Choose wisely. :-)
diff --git a/sh.c b/sh.c
index 1524ef1..f96720d 100644
--- a/sh.c
+++ b/sh.c
@@ -1260,8 +1260,8 @@ static int runCommand(struct job *newJob, struct jobSet *jobList, int inBg, int
*/
search_applet.name = newJob->progs[i].argv[0];
-#ifdef BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
- /* If you enable BB_FEATURE_SH_BUILTINS_ALWAYS_WIN, then
+#ifdef BB_FEATURE_SH_APPLETS_ALWAYS_WIN
+ /* If you enable BB_FEATURE_SH_APPLETS_ALWAYS_WIN, then
* if you run /bin/cat, it will use BusyBox cat even if
* /bin/cat exists on the filesystem and is _not_ busybox.
* Some systems want this, others do not. Choose wisely. :-)
diff --git a/shell/lash.c b/shell/lash.c
index 1524ef1..f96720d 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
*/
search_applet.name = newJob->progs[i].argv[0];
-#ifdef BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
- /* If you enable BB_FEATURE_SH_BUILTINS_ALWAYS_WIN, then
+#ifdef BB_FEATURE_SH_APPLETS_ALWAYS_WIN
+ /* If you enable BB_FEATURE_SH_APPLETS_ALWAYS_WIN, then
* if you run /bin/cat, it will use BusyBox cat even if
* /bin/cat exists on the filesystem and is _not_ busybox.
* Some systems want this, others do not. Choose wisely. :-)