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 |
||
---|---|---|
.. | ||
tests | ||
extern.h | ||
forward.c | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
misc.c | ||
read.c | ||
reverse.c | ||
tail.1 | ||
tail.c |