[GRASS-dev] fseeko() in libiostream

Hamish hamish_b at yahoo.com
Mon Oct 6 21:44:35 EDT 2008


Paul Kelly wrote:
> I looked in r.in.xyz which only uses fseek() and 
> ISTR discussion about it handling huge files recently,
> although perhaps that involved reading from stdin.

fwiw the fseek() there is just to grab the filesize so G_percent() can
know where 100% is. If the fseek() returns garbage no harm is done and
G_percent() is skipped. It doesn't touch the processing aspect of the
module, just the cosmetic user message end of things.


Hamish



      



More information about the grass-dev mailing list