Markus Neteler wrote:

> >> I got carried away (replacing all fseek/ftell occurrences I could find
> >> with G_fseek/G_ftell, adjusting off_t as you showed above) and also made
> >> r3.in|out.v5d LFS-safe, but did not submit. Should I?
> >
> > Yes; ideally, we should use G_{fseek,ftell} everywhere.
> 
> Patch attached.
> 
> Note that it now fails to compile here:

> No clue how what could be wrong in the patch. Same problem in
> raster/r.in.xyz
> 
> Feel free to recycle the patch.

I've committed this (with fixes) as r38703.

lib/rst/inter_float still needs to be fixed to use off_t for offsets.
Currently, it's using "int", so it won't handle files >2GiB even on
64-bit platforms.

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to