diff --git a/ChangeLog b/ChangeLog index fca3432b1..d6cdd7b1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,22 @@ -2003-05-28 Jim Meyering +2003-06-01 Jim Meyering * Version 5.0.1. + Avoid a race condition in `tail -f' described by Ken Raeburn in + http://mail.gnu.org/archive/html/bug-textutils/2003-05/msg00007.html + * src/tail.c (file_lines): Add new parameter, *read_pos, and set it. + (pipe_lines): Likewise. + (pipe_bytes): Likewise. + (start_bytes): Likewise. + (start_lines): Likewise. + (tail_bytes): Likewise. + (tail_lines): Likewise. + (tail): Likewise. + (tail_file): Use the new `read_pos' value as the size, + rather than stats.st_size from the fstat call. + +2003-05-28 Jim Meyering + * src/extract-magic: Allow expansion of `$file' in the here- document corresponding to the comment at the top of fs.h.