patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN
authorEric Andersen <andersen@codepoet.org>
Wed, 6 Dec 2000 19:07:39 +0000 (19:07 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 6 Dec 2000 19:07:39 +0000 (19:07 -0000)
to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN.

Config.h
lash.c
sh.c
shell/lash.c

index 827ff1ed0e03f4ece9a735403551985756e600c8..50f9e3ac789bbc68ca4c6d52b4ab8fd240934c28 100644 (file)
--- a/Config.h
+++ b/Config.h
 // 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 1524ef16b8532be73782679157c8f2e7264dafc3..f96720d4620d227755d1b8c6edf64ea7c7b8cf55 100644 (file)
--- 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 1524ef16b8532be73782679157c8f2e7264dafc3..f96720d4620d227755d1b8c6edf64ea7c7b8cf55 100644 (file)
--- 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.  :-)
index 1524ef16b8532be73782679157c8f2e7264dafc3..f96720d4620d227755d1b8c6edf64ea7c7b8cf55 100644 (file)
@@ -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.  :-)