[BusyBox-cvs] busybox/coreutils tee.c,1.22,1.23
Erik Andersen
andersen at busybox.net
Wed Oct 22 10:18:27 UTC 2003
Update of /var/cvs/busybox/coreutils
In directory winder:/tmp/cvs-serv11470/coreutils
Modified Files:
tee.c
Log Message:
Disable any buffering to stdout
Index: tee.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/tee.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- tee.c 19 Mar 2003 09:11:34 -0000 1.22
+++ tee.c 22 Oct 2003 10:18:24 -0000 1.23
@@ -89,6 +89,7 @@
#endif
#else
+ setvbuf(stdout, NULL, _IONBF, 0);
while ((c = getchar()) != EOF) {
for (p=files ; *p ; p++) {
putc(c, *p);
More information about the busybox-cvs
mailing list