]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(dump_remainder): Flush stdout when tailing-forever on multiple files.
authorJim Meyering <jim@meyering.net>
Thu, 1 Feb 1996 05:25:54 +0000 (05:25 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 1 Feb 1996 05:25:54 +0000 (05:25 +0000)
From Carlos Canau <Carlos.Canau@relay.puug.pt>.

src/tail.c

index 99ad6c8d3a56c94d640bf5e484fbc64ea26b86f5..a5494533528592d51fa100f8bc82eb2b43b6ee03 100644 (file)
@@ -545,6 +545,12 @@ output:
       sleep (1);
       goto output;
     }
+  else
+    {
+      if (forever_multiple)
+       fflush (stdout);
+    }
+
   return total;
 }