Up to [local] / src / usr.bin / less
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_2_8_BASE
Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 20 19:00:38 1999 UTC (25 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)
First step at supporting files > 2gig. Use off_t as POSITION and replace get_maxlong() with a get_maxpos() and modify percentage() appropriately. There are still problems seeking to the end of a large file and line numbers should probably be 64bit (or at the very least unsigned). This has been sitting in my tree for quite some time now so I am committing what I have now since I don't know when I'll have a chance to really finish it.