]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(tail_forever): When following by name and calling recheck
authorJim Meyering <jim@meyering.net>
Tue, 3 Aug 1999 07:43:42 +0000 (07:43 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 3 Aug 1999 07:43:42 +0000 (07:43 +0000)
because of exceeding max_n_consecutive_size_changes_between_opens,
`continue' so we don't fall through and (assuming the file finally grew)
get the erroneous `file truncated' message.

src/tail.c

index e6f9b422ccb70837289a2c304aa2941221b76e0a..8365a1354b70d336c62f476466ea9b3151398aeb 100644 (file)
@@ -862,7 +862,6 @@ tail_forever (struct File_spec *f, int nfiles)
                  recheck (&f[i]);
                  f[i].n_unchanged_stats = 0;
                }
-
              continue;
            }
 
@@ -877,6 +876,7 @@ tail_forever (struct File_spec *f, int nfiles)
            {
              f[i].n_consecutive_size_changes = 0;
              recheck (&f[i]);
+             continue;
            }
 
          /* This file has changed size.  Print out what we can, and