mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
54d34ff63d
If tail notices that a file it is following no longer exists (because stat() fails), it will output any final lines and then close the file. If the read operation also causes an error, such as when the filesystem is forcefully unmounted, it closes the file as well, leading to fclose(NULL) and a segmentation fault. PR: bin/159750 Submitted by: swills Approved by: re (kib) MFC after: 1 week |
||
---|---|---|
.. | ||
extern.h | ||
forward.c | ||
Makefile | ||
misc.c | ||
read.c | ||
reverse.c | ||
tail.1 | ||
tail.c |