Removing stdio things from tail. We only use unistd.
authorlbatlle@npdl268.bpo.hp.com
Thu, 24 Jan 2008 17:43:53 +0100
changeset 189 192ea76be533
parent 188 64058e15c0dd
child 190 a1d9f881740e
child 191 35b77fb4deb1
Removing stdio things from tail. We only use unistd.
tail.c
--- a/tail.c	Thu Jan 24 10:42:42 2008 +0100
+++ b/tail.c	Thu Jan 24 17:43:53 2008 +0100
@@ -125,9 +125,6 @@
     /* we don't want the next read calls to block. */
     set_non_blocking(fd);
 
-    /* We don't want line-buffered stdoutput */
-    setvbuf(stdout, 0, _IONBF, 0);
-
     do
     {
         char buf[BSIZE];