diff options
author | Erik Andersen | 2000-05-13 06:33:19 +0000 |
---|---|---|
committer | Erik Andersen | 2000-05-13 06:33:19 +0000 |
commit | bcd6177853a39d47b7c0ea75cc27653d63649afa (patch) | |
tree | 45ed7567a55a548fff8cf6e50dcda63420a8bd0f /busybox.c | |
parent | 73c8c9cf9a61286a109a8785b8e4782828d6fe99 (diff) | |
download | busybox-bcd6177853a39d47b7c0ea75cc27653d63649afa.zip busybox-bcd6177853a39d47b7c0ea75cc27653d63649afa.tar.gz |
BusyBox shell (lash) can now be used as a standalone shell when
BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace
sash). Also fixed it so shell builtins now respect pipes and redirects.
-Erik
Diffstat (limited to 'busybox.c')
-rw-r--r-- | busybox.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -30,7 +30,7 @@ int atexit(void (*__func) (void)) void *__libc_stack_end; #endif -static const struct Applet applets[] = { +const struct BB_applet applets[] = { #ifdef BB_BASENAME {"basename", basename_main, _BB_DIR_USR_BIN}, @@ -350,7 +350,7 @@ int main(int argc, char **argv) { char *s; char *name; - const struct Applet *a = applets; + const struct BB_applet *a = applets; for (s = name = argv[0]; *s != '\0';) { if (*s++ == '/') @@ -384,7 +384,7 @@ int busybox_main(int argc, char **argv) argv++; if (been_there_done_that == 1 || argc < 1) { - const struct Applet *a = applets; + const struct BB_applet *a = applets; fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n", BB_VER, BB_BT); |