summaryrefslogtreecommitdiff
path: root/usr.bin/tail/tail.c
AgeCommit message (Collapse)Author
2000-11-21When doing tail -f from stdin don't reopen a local file named stdin.Artur Grabowski
1999-02-03Fix broken conversion of private err() function and make ierr() and oerr()Todd C. Miller
back into functions, not macros. Also make functions that call mmap() return an int so we can fall back to non-mmap (slow) version on mmap failure. Noticable effects: o when you tail multiple files, if one of the files doesn't exist or is otherwise broken, keep on going to the next file. o it is now possible to tail files > 2gig, though it will be *very* slow since tail will be unable to use mmap()
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1997-01-12Fix core dump and use libc err(3) instead of private one (which hadTodd C. Miller
slightly different semantics). Also clean up some gcc -Wall'isms.
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt