Ticket #1106 (closed task: fixed)
r.terraflow limited to 32bit temp files in WinGrass
| Reported by: | hamish | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.0 |
| Component: | Raster | Version: | svn-develbranch6 |
| Keywords: | wingrass, r.terraflow | Cc: | |
| Platform: | MSWindows XP | CPU: | x86-32 |
Description (last modified by hamish) (diff)
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 64bit 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
Note: See
TracTickets for help on using
tickets.
