[GRASS-dev] Re: [GRASS-user] r.in.xyz: Could open text file ~ 2.5GB

Hamish hamish_nospam at yahoo.com
Thu Oct 26 22:31:29 EDT 2006


Glynn Clements wrote:
> > If we get that, should every LFS compliant module be
> > written like:
> > 
> > #ifdef HAVE_FTELLO
> >     off_t filesize;
> > #else
> >     long filesize;
> > #endif
> 
> No. You may as well just use "off_t filesize" unconditionally. An
> "off_t" will always be large enough to hold a "long".


will all compilers (within reason) know about the off_t type?


Hamish




More information about the grass-dev mailing list