freebsd-src/usr.bin/tail
Andrey A. Chernov 4f2554b7b7 rlines() checks:
1) really check for size overflow by checking negative value.
2) since mmap() not support files over INT_MAX size, add check for it
until either mmap() will be fixed or tail will be rewritted to handle
large files alternatively.
3) replace fseek(... file_size, SEEK_SET) with fseek(... 0L, SEEK_END)
to avoid off_t -> long cast
4) Use exit() if file is too big instead of warning and wrong logic
afterwards.
2001-03-26 19:29:49 +00:00
..
extern.h
forward.c rlines() checks: 2001-03-26 19:29:49 +00:00
Makefile
misc.c Properly constify some static arrays. 2000-12-02 19:10:12 +00:00
read.c Remove register keyword usage with prejudice. 2000-12-03 17:05:45 +00:00
reverse.c Remove register keyword usage with prejudice. 2000-12-03 17:05:45 +00:00
tail.1 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
tail.c Mention the -F in the usage(). 2001-01-24 08:27:59 +00:00