diff options
author | Giuseppe Scrivano <gscrivano@gnu.org> | 2009-10-12 22:16:03 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-10-22 09:11:24 +0200 |
commit | cd0f3036f606276654f2293a4d90df5efd21bd99 (patch) | |
tree | b25b9b1bcbcaab725949f47f9193613b090c983f /NEWS | |
parent | 9abbe32c2e7d13d9767679c52f8e3de823f94310 (diff) | |
download | coreutils-cd0f3036f606276654f2293a4d90df5efd21bd99.tar.xz |
tail -f: avoid a race condition
* NEWS (Bug fixes): Mention it.
* src/tail.c (check_fspec): New function.
(tail_forever_inotify): Ensure there is no new data before entering the
inotify events wait loop.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -8,15 +8,22 @@ GNU coreutils NEWS -*- outline -*- Even then, chcon may still be useful. [bug introduced in coreutils-8.0] - stat -f recognizes more file system types: afs, cifs, anon-inode FS, - btrfs, cgroupfs, cramfs-wend, debugfs, futexfs, hfs, inotifyfs, minux3, - nilfs, securityfs, selinux, xenfs - md5sum now prints checksums atomically so that concurrent processes will not intersperse their output. This also affected sum, sha1sum, sha224sum, sha384sum and sha512sum. [the bug dates back to the initial implementation] + stat -f recognizes more file system types: afs, cifs, anon-inode FS, + btrfs, cgroupfs, cramfs-wend, debugfs, futexfs, hfs, inotifyfs, minux3, + nilfs, securityfs, selinux, xenfs + + tail -f (inotify-enabled) now avoids a race condition. + Before, any data appended in the tiny interval between the initial + read-to-EOF and the inotify watch initialization would be ignored + initially (until more data was appended), or forever, if the file + were first renamed or unlinked or never modified. + [The race was introduced in coreutils-7.5] + ** New features md5sum --check now also accepts openssl-style checksums. |