[GRASS-dev] [GRASS GIS] #1971: 64bit LFS support for G_ftell() and PRI_OFF_T gis.h

GRASS GIS trac at osgeo.org
Thu May 9 18:45:05 PDT 2013

#1971: 64bit LFS support for G_ftell() and PRI_OFF_T gis.h
 Reporter:  hamish                               |       Owner:  grass-dev@…              
     Type:  defect                               |      Status:  new                      
 Priority:  critical                             |   Milestone:  6.4.3                    
Component:  LibGIS                               |     Version:  svn-develbranch6         
 Keywords:  r.in.bin, LFS, G_ftell(), PRI_OFF_T  |    Platform:  Linux                    
      Cpu:  x86-64                               |  

Comment(by hamish):

 AFAICT r.in.bin is the only thing in GRASS 6 which uses G_ftell(), and
 nothing in the grass6-addons repo uses it. It was there in the 6.4.2
 release though, so someone might be using it in a personal addon program.
 Could it harm backwards compatibility to change the function def'n, or
 would it be harmless?

 Seeing that it is only r.in.bin, a less invasive fix to get the 6.4.3
 release out the door might be to add the `#ifdef HAVE_FSEEKO` test into
 r.in.bin directly and avoid using G_ftell() altogether.


Ticket URL: <https://trac.osgeo.org/grass/ticket/1971#comment:1>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list