freebsd-skq/usr.bin/tail
Chuck Silvers 7787e7eed9 tail: fix "tail -F" file rotation detection
When checking if the newly opened file is the same as the old one,
we need to fstat() the new file descriptor, not the old one again.

Reviewed by:	glebius
Sponsored by:	Netflix
2021-02-01 16:21:14 -08:00
..
tests
extern.h tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
forward.c tail: fix "tail -F" file rotation detection 2021-02-01 16:21:14 -08:00
Makefile
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
misc.c tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
read.c tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
reverse.c tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
tail.1 Use -F instead of -f in tail(1) examples 2020-03-22 21:51:50 +00:00
tail.c Fix tail -f in capability mode. 2019-12-06 23:39:38 +00:00