mirror of https://github.com/mirror/busybox.git
Disable any buffering to stdout
parent
5289969f08
commit
637d2266e1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue