aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-22 00:50:20 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-22 00:50:20 +0000
commit8fc300976f5a06d98f8be3e1798b5bc8da868e02 (patch)
tree11f0ad4b9bff47aed3b729c29314ea428cfa9a1d
parentbe30a6b8b008aeacacf0a83fe24cadf4f99f2d93 (diff)
downloadbusybox-w32-8fc300976f5a06d98f8be3e1798b5bc8da868e02.tar.gz
busybox-w32-8fc300976f5a06d98f8be3e1798b5bc8da868e02.tar.bz2
busybox-w32-8fc300976f5a06d98f8be3e1798b5bc8da868e02.zip
Revert my change to do extra termType checking. That is done elsewhere.
Silly me. -Erik
-rw-r--r--init.c3
-rw-r--r--init/init.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/init.c b/init.c
index 4c05c38e3..55a81d309 100644
--- a/init.c
+++ b/init.c
@@ -420,9 +420,6 @@ static pid_t run(char *command, char *terminal, int get_enter)
420 while ((environ[j]) && (i < MAXENV)) { 420 while ((environ[j]) && (i < MAXENV)) {
421 if (strncmp(environ[j], "TERM=", 5)) 421 if (strncmp(environ[j], "TERM=", 5))
422 environment[i++] = environ[j]; 422 environment[i++] = environ[j];
423 else {
424 snprintf(termType, sizeof(termType) - 1, environ[j]);
425 }
426 j++; 423 j++;
427 } 424 }
428 425
diff --git a/init/init.c b/init/init.c
index 4c05c38e3..55a81d309 100644
--- a/init/init.c
+++ b/init/init.c
@@ -420,9 +420,6 @@ static pid_t run(char *command, char *terminal, int get_enter)
420 while ((environ[j]) && (i < MAXENV)) { 420 while ((environ[j]) && (i < MAXENV)) {
421 if (strncmp(environ[j], "TERM=", 5)) 421 if (strncmp(environ[j], "TERM=", 5))
422 environment[i++] = environ[j]; 422 environment[i++] = environ[j];
423 else {
424 snprintf(termType, sizeof(termType) - 1, environ[j]);
425 }
426 j++; 423 j++;
427 } 424 }
428 425