summaryrefslogtreecommitdiff
path: root/usr.bin/tail/reverse.c
AgeCommit message (Collapse)Author
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-07-17-Wall cleanup; ok deraadtPeter Valchev
2001-01-17avoid C sequence point issues; found by cgd@netbsd.org using a developmentPaul Janzen
version of gcc.
2000-10-12MAP_FAILED, not -1Artur Grabowski
2000-06-23Get rid of repeating error messages; From netbsd millert@ okEric Jackson
1999-08-04supply particular mapping type to the mmap(2) instead of bogus 0Michael Shalayeff
1999-04-29don't step on the tail if there is no one, or core dumps; millert - yesMichael Shalayeff
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-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