diff options
author | Eric Andersen | 2003-10-22 10:18:24 +0000 |
---|---|---|
committer | Eric Andersen | 2003-10-22 10:18:24 +0000 |
commit | 637d2266e1ea711f27ab0aec200a196b5eccbbca (patch) | |
tree | e8e464a2f0646bd05e80d8d415178ccb98504deb | |
parent | 5289969f08d64b6208c5db1049612ea7f9618080 (diff) | |
download | busybox-637d2266e1ea711f27ab0aec200a196b5eccbbca.zip busybox-637d2266e1ea711f27ab0aec200a196b5eccbbca.tar.gz |
Disable any buffering to stdout
-rw-r--r-- | coreutils/tee.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/tee.c b/coreutils/tee.c index 7e86f2e..73c2f8e 100644 --- a/coreutils/tee.c +++ b/coreutils/tee.c @@ -89,6 +89,7 @@ int tee_main(int argc, char **argv) #endif #else + setvbuf(stdout, NULL, _IONBF, 0); while ((c = getchar()) != EOF) { for (p=files ; *p ; p++) { putc(c, *p); |