Up to [local] / src / usr.bin / tail
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_2_7
Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 3 02:09:30 1999 UTC (25 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)
Fix broken conversion of private err() function and make ierr() and oerr() 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()