]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(recheck): Factor out a block of duplicated code.
authorJim Meyering <jim@meyering.net>
Thu, 25 Mar 1999 14:29:13 +0000 (14:29 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 25 Mar 1999 14:29:13 +0000 (14:29 +0000)
commit562f29a2a28c45f5120404028ce0dafef9e12531
tree194e8aac9686edaa40da12ef7074ae6d47e6df82
parent11212212b0e0c4ee1350d12fb7d14e7dc9090214
(recheck): Factor out a block of duplicated code.
Set f->size to 0 upon encountering a new file so we read it from
the beginning rather than from then end of the first line or
block.  Otherwise, after a log rotation, tail would omit the first
line or block of the new file.  Reported by Ed Avis.
src/tail.c