aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-08-21 22:34:23 +0000
committerEric Andersen <andersen@codepoet.org>2000-08-21 22:34:23 +0000
commit851ce895bdf33b95ccbfc67061f8949e36fad196 (patch)
treeda981e0f73a1dc6a40c27b9af0e3558905681041
parenta1f16bba72c78eca9359692e354fa35c0f3366c1 (diff)
downloadbusybox-w32-851ce895bdf33b95ccbfc67061f8949e36fad196.tar.gz
busybox-w32-851ce895bdf33b95ccbfc67061f8949e36fad196.tar.bz2
busybox-w32-851ce895bdf33b95ccbfc67061f8949e36fad196.zip
Turn off some debug noise.
-Erik
-rw-r--r--lash.c4
-rw-r--r--sh.c4
-rw-r--r--shell/lash.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/lash.c b/lash.c
index 2cec66bff..50e4368db 100644
--- a/lash.c
+++ b/lash.c
@@ -1434,12 +1434,12 @@ int shell_main(int argc_l, char **argv_l)
1434 * standard output is a terminal 1434 * standard output is a terminal
1435 * Refer to Posix.2, the description of the `sh' utility. */ 1435 * Refer to Posix.2, the description of the `sh' utility. */
1436 if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) { 1436 if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) {
1437 fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); 1437 //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
1438 /* Looks like they want an interactive shell */ 1438 /* Looks like they want an interactive shell */
1439 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); 1439 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT);
1440 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); 1440 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n");
1441 } else if (local_pending_command==NULL) { 1441 } else if (local_pending_command==NULL) {
1442 fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); 1442 //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
1443 input = fopen(argv[optind], "r"); 1443 input = fopen(argv[optind], "r");
1444 if (!input) { 1444 if (!input) {
1445 fatalError("%s: %s\n", argv[optind], strerror(errno)); 1445 fatalError("%s: %s\n", argv[optind], strerror(errno));
diff --git a/sh.c b/sh.c
index 2cec66bff..50e4368db 100644
--- a/sh.c
+++ b/sh.c
@@ -1434,12 +1434,12 @@ int shell_main(int argc_l, char **argv_l)
1434 * standard output is a terminal 1434 * standard output is a terminal
1435 * Refer to Posix.2, the description of the `sh' utility. */ 1435 * Refer to Posix.2, the description of the `sh' utility. */
1436 if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) { 1436 if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) {
1437 fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); 1437 //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
1438 /* Looks like they want an interactive shell */ 1438 /* Looks like they want an interactive shell */
1439 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); 1439 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT);
1440 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); 1440 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n");
1441 } else if (local_pending_command==NULL) { 1441 } else if (local_pending_command==NULL) {
1442 fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); 1442 //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
1443 input = fopen(argv[optind], "r"); 1443 input = fopen(argv[optind], "r");
1444 if (!input) { 1444 if (!input) {
1445 fatalError("%s: %s\n", argv[optind], strerror(errno)); 1445 fatalError("%s: %s\n", argv[optind], strerror(errno));
diff --git a/shell/lash.c b/shell/lash.c
index 2cec66bff..50e4368db 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1434,12 +1434,12 @@ int shell_main(int argc_l, char **argv_l)
1434 * standard output is a terminal 1434 * standard output is a terminal
1435 * Refer to Posix.2, the description of the `sh' utility. */ 1435 * Refer to Posix.2, the description of the `sh' utility. */
1436 if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) { 1436 if (interactive==TRUE || ( argv[optind]==NULL && input==stdin && isatty(fileno(stdin)) && isatty(fileno(stdout)))) {
1437 fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); 1437 //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
1438 /* Looks like they want an interactive shell */ 1438 /* Looks like they want an interactive shell */
1439 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); 1439 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT);
1440 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); 1440 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n");
1441 } else if (local_pending_command==NULL) { 1441 } else if (local_pending_command==NULL) {
1442 fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]); 1442 //fprintf(stdout, "optind=%d argv[optind]='%s'\n", optind, argv[optind]);
1443 input = fopen(argv[optind], "r"); 1443 input = fopen(argv[optind], "r");
1444 if (!input) { 1444 if (!input) {
1445 fatalError("%s: %s\n", argv[optind], strerror(errno)); 1445 fatalError("%s: %s\n", argv[optind], strerror(errno));