projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5289969
)
Disable any buffering to stdout
author
Eric Andersen
<andersen@codepoet.org>
Wed, 22 Oct 2003 10:18:24 +0000
(10:18 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 22 Oct 2003 10:18:24 +0000
(10:18 -0000)
coreutils/tee.c
patch
|
blob
|
history
diff --git
a/coreutils/tee.c
b/coreutils/tee.c
index 7e86f2e29cabfccc4431363ab581355122b7130b..73c2f8e9df406c6f0f790141ebdd835a5ddf32be 100644
(file)
--- 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);