[GRASS-dev] Re: About the vector changes

Glynn Clements glynn at gclements.plus.com
Wed Aug 12 20:37:20 EDT 2009


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 <glynn at gclements.plus.com>


More information about the grass-dev mailing list