Miod Vallat wrote:
> > CVSROOT:    /cvs
> > Module name:        src
> > Changes by: [email protected]    2015/12/14 13:02:07
> >
> > Modified files:
> >     usr.bin/grep   : grep.h util.c 
> >
> > Log message:
> > Use long long rather than off_t for line_no to ensure that it's always
> > 64 bits.
> 
> off_t is defined as int64_t in OpenBSD.

The discussion about this:

https://marc.info/?t=144959799300002&r=1&w=2

To summarize: off_t isn't specified to be >= 64 bits and some people
don't think it should be used for things other than byte offsets.

Reply via email to