From 1d3523b7aa994aeb90fec5f281617abc3c9ce195 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 6 Dec 2000 19:07:39 +0000 Subject: patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN. --- Config.h | 12 ++++++------ lash.c | 4 ++-- sh.c | 4 ++-- shell/lash.c | 4 ++-- 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 @@ // 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 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 */ 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 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 */ 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 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 */ 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. :-) -- cgit v1.2.3