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

GRASS GIS trac at osgeo.org
Fri May 10 22:56:46 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):

 fwiw my glibc docs show vanilla fseek() returning int, it's ftell() that
 returns long:

 {{{
 int fseek(FILE *stream, long offset, int whence);
 long ftell(FILE *stream);
 }}}

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



More information about the grass-dev mailing list