From 513813de35aea27cae64d6275f2ccf2d6fafaf45 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 13 Nov 2001 10:21:12 +0000 Subject: [PATCH] *** empty log message *** --- old/textutils/ChangeLog | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 4fea6140d6..f7fcb6ef15 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,7 +1,18 @@ -2001-11-11 Jim Meyering +2001-11-13 Jim Meyering * Version 2.0.17. + * tests/tail-2/Makefile.am (TESTS): Add proc-ksyms and start-middle. + * tests/tail-2/start-middle: New test, for the bug fixed on 1995-07-24. + + `tail /proc/ksyms' would segfault on Linux. + * src/tail.c (tail_lines): Use status of lseek (...SEEK_END) call + in deciding whether to call file_lines or pipe_lines. + From Herbert Xu. + * tests/tail-2/proc-ksyms: New test, for the above fix. + +2001-11-11 Jim Meyering + * src/od.c (struct tspec): Declare function pointer with prototype. * src/sum.c (main): Declare function pointer with prototype. @@ -2651,7 +2662,7 @@ * src/tail.c (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 + the beginning rather than from the 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. -- 2.47.3