Opened 14 years ago

Last modified 12 years ago

#1106 closed task

r.terraflow limited to 32bit temp files in WinGrass — at Initial Version

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Raster Version: svn-develbranch6
Keywords: wingrass, r.terraflow Cc:
CPU: x86-32 Platform: MSWindows XP

Description

Hi,

moving this out of the noise of #1006 so we can close that one asap.

part of the work-around for the #1006 r.terraflow on WinGrass fix replaces stat() with ftell(), as stat() on Windows gives undefined results if the file is still open.

The ftell() solution is not 32bit safe though, so it awaits a backport of G_ftell() [or even better off_t G_filesize()] in some later release.

This does not affect the UNIX side of things, the ftell() is within a #ifdef.

Hamish

Change History (0)

Note: See TracTickets for help on using tickets.