]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sun, 1 Jun 2003 18:24:46 +0000 (18:24 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 1 Jun 2003 18:24:46 +0000 (18:24 +0000)
ChangeLog

index fca3432b15fd53ec8157d4871ad8215d0f13f1e1..d6cdd7b1d2b3b88a8988e9619fad850405025467 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,22 @@
-2003-05-28  Jim Meyering  <jim@meyering.net>
+2003-06-01  Jim Meyering  <jim@meyering.net>
 
        * 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  <jim@meyering.net>
+
        * src/extract-magic: Allow expansion of `$file' in the here-
        document corresponding to the comment at the top of fs.h.