From: Jim Meyering Date: Tue, 3 Aug 1999 07:43:42 +0000 (+0000) Subject: (tail_forever): When following by name and calling recheck X-Git-Tag: TEXTUTILS-1_22q~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3cc8a1087523e341ef9764e59008fa1e4b327b84;p=thirdparty%2Fcoreutils.git (tail_forever): When following by name and calling recheck 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. --- diff --git a/src/tail.c b/src/tail.c index e6f9b422cc..8365a1354b 100644 --- a/src/tail.c +++ b/src/tail.c @@ -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