freebsd-dev/usr.bin/tail
Ian Dowse aee1bac713 Since kqueue support was added to tail, the "-F" option (check for
renames/rotations) only detected cases where the file itself was
moved or deleted. If part of the path to the file (or a symlink
in the path) was changed instead, tail would not notice.

Fix this by ensuring that we stat the path at least once every
second in the -F case to check for changes. We still use kqueue
when possible to inform us quickly when the file has changed.

PR:		bin/24955
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
MFC after:	1 week
2001-11-25 18:03:28 +00:00
..
extern.h
forward.c Since kqueue support was added to tail, the "-F" option (check for 2001-11-25 18:03:28 +00:00
Makefile
misc.c
read.c
reverse.c
tail.1
tail.c