diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-04-07 09:34:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-04-07 09:34:27 +0000 |
commit | 075dd81c4460c027cf22800808993df3c07281f5 (patch) | |
tree | 92e71f0a400931ed106bfcedee0420b408adb282 /shell/hush.c | |
parent | b80c67e32c87bc674e84993f8d2d06e8f2c4228d (diff) | |
download | busybox-w32-075dd81c4460c027cf22800808993df3c07281f5.tar.gz busybox-w32-075dd81c4460c027cf22800808993df3c07281f5.tar.bz2 busybox-w32-075dd81c4460c027cf22800808993df3c07281f5.zip |
Remove the CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN option. It was sortof
stupid and didn't work properly anyways.
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/shell/hush.c b/shell/hush.c index 0a32099c7..ad5ddf0d5 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -1124,18 +1124,6 @@ static void pseudo_exec(struct child_prog *child) | |||
1124 | char** argv_l=child->argv; | 1124 | char** argv_l=child->argv; |
1125 | char *name = child->argv[0]; | 1125 | char *name = child->argv[0]; |
1126 | 1126 | ||
1127 | #ifdef CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN | ||
1128 | /* Following discussions from November 2000 on the busybox mailing | ||
1129 | * list, the default configuration, (without | ||
1130 | * bb_get_last_path_component()) lets the user force use of an | ||
1131 | * external command by specifying the full (with slashes) filename. | ||
1132 | * If you enable CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN, then applets | ||
1133 | * _aways_ override external commands, so if you want to run | ||
1134 | * /bin/cat, it will use BusyBox cat even if /bin/cat exists on the | ||
1135 | * filesystem and is _not_ busybox. Some systems may want this, | ||
1136 | * most do not. */ | ||
1137 | name = bb_get_last_path_component(name); | ||
1138 | #endif | ||
1139 | /* Count argc for use in a second... */ | 1127 | /* Count argc for use in a second... */ |
1140 | for(argc_l=0;*argv_l!=NULL; argv_l++, argc_l++); | 1128 | for(argc_l=0;*argv_l!=NULL; argv_l++, argc_l++); |
1141 | optind = 1; | 1129 | optind = 1; |