Pb seeking with less on file more size 2Go

Dan Nelson dnelson at allantgroup.com
Tue Oct 26 14:18:09 PDT 2004


In the last episode (Oct 27), rmkml said:
> I running less with file more size 2Go
> 
> on fbsd v4.10R
> 
> and if execute 'G' on less cmd
> 
> G not seek on end file ...
> 
> Possible you have same pb/question ?

I just tested it on an 8GB file, and although I don't get any error, it
only seeks to ~3.7GB into the file, so the version of less that comes
with 4.10 probably uses an "unsigned int" someplace.

The version you get when you build the ports/misc/less port does work
correctly, though.  If you install that, you should be okay.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list