[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	henning_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/07/01 05:12:59

Modified files:
	usr.bin/tail   : forward.c reverse.c 

Log message:
rewrite to not use mmap(2). solves a bunch of issues:
- No more I/O related SEGVs (PR 2337?).
- Performance linear to size of output, not input file size, even for very large files.
Same for -r.
- Reverse tail also works for very large files.
- Very large values of n possible, even for very large files. Same for -r.

work by Otto Moerbeek <otto_(_at_)_drijf_(_dot_)_net>
tested by and ok millert@ and myself



Visit your host, monkey.org