diff options
author | Eric Andersen | 2004-04-07 09:34:27 +0000 |
---|---|---|
committer | Eric Andersen | 2004-04-07 09:34:27 +0000 |
commit | 075dd81c4460c027cf22800808993df3c07281f5 (patch) | |
tree | 92e71f0a400931ed106bfcedee0420b408adb282 /shell/hush.c | |
parent | b80c67e32c87bc674e84993f8d2d06e8f2c4228d (diff) | |
download | busybox-075dd81c4460c027cf22800808993df3c07281f5.zip busybox-075dd81c4460c027cf22800808993df3c07281f5.tar.gz |
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 0a32099..ad5ddf0 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1124,18 +1124,6 @@ static void pseudo_exec(struct child_prog *child) char** argv_l=child->argv; char *name = child->argv[0]; -#ifdef CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN - /* Following discussions from November 2000 on the busybox mailing - * list, the default configuration, (without - * bb_get_last_path_component()) lets the user force use of an - * external command by specifying the full (with slashes) filename. - * If you enable CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN, then applets - * _aways_ override external commands, so if you want to run - * /bin/cat, it will use BusyBox cat even if /bin/cat exists on the - * filesystem and is _not_ busybox. Some systems may want this, - * most do not. */ - name = bb_get_last_path_component(name); -#endif /* Count argc for use in a second... */ for(argc_l=0;*argv_l!=NULL; argv_l++, argc_l++); optind = 1; |