summaryrefslogtreecommitdiff
path: root/src/cksum.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-09-13 17:31:24 +0200
committerPádraig Brady <P@draigBrady.com>2013-11-27 01:40:08 +0000
commitba6582e95ce2a041423e1ff34c93abe7b4702332 (patch)
treeb9d30c8ff7fc2a00e80b12c5b7f15f318ec02b98 /src/cksum.c
parent799e10f3619ea7949a4f606b2f29b662daf31e3c (diff)
downloadcoreutils-ba6582e95ce2a041423e1ff34c93abe7b4702332.tar.xz
tail: improve inotify handling of symlinks
Previous behavior failed to read contents of a (re)appearing file, when symlinked by tail's watched file. Also we now diagnose other edge cases when running in inotify mode, where an initially missing or regular file changes to a symlink. * src/tail.c (main): If any arg is a symlink, use polling mode. (recheck): Diagnose the edge case where a symlink appears during inotify processing. * tests/tail-2/symlink.sh: Test the fix. Mention the edge cases. * tests/local.mk: Reference the new test. * NEWS: Mention the fix. Reported by: Ondrej Oprala
Diffstat (limited to 'src/cksum.c')
0 files changed, 0 insertions, 0 deletions