HomeFreeBSD

tail: fix "tail -F" file rotation detection

Description

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

Details

Provenance
chsAuthored on Feb 2 2021, 12:21 AM
Parents
rG1912d2b15e6d: vt: parse_font_info_static should set refcount, not parse_font_info
Branches
Unknown
Tags
Unknown