[GRASS-dev] [GRASS GIS] #1106: r.terraflow limited to 32bit temp files in WinGrass

GRASS GIS trac at osgeo.org
Mon Jul 12 02:49:18 EDT 2010


#1106: r.terraflow limited to 32bit temp files in WinGrass
-----------------------------------+----------------------------------------
 Reporter:  hamish                 |       Owner:  grass-dev@…              
     Type:  task                   |      Status:  new                      
 Priority:  normal                 |   Milestone:  6.4.1                    
Component:  Raster                 |     Version:  svn-develbranch6         
 Keywords:  wingrass, r.terraflow  |    Platform:  MSWindows XP             
      Cpu:  x86-32                 |  
-----------------------------------+----------------------------------------
 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

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1106>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list