summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivano@gnu.org>2009-10-12 22:16:03 +0200
committerJim Meyering <meyering@redhat.com>2009-10-22 09:11:24 +0200
commitcd0f3036f606276654f2293a4d90df5efd21bd99 (patch)
treeb25b9b1bcbcaab725949f47f9193613b090c983f /NEWS
parent9abbe32c2e7d13d9767679c52f8e3de823f94310 (diff)
downloadcoreutils-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--NEWS15
1 files changed, 11 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 29bedac28..7057d8707 100644
--- a/NEWS
+++ b/NEWS
@@ -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.