[GRASS-dev] Re: [GRASS GIS] #1131: Global LFS for wingrass

GRASS GIS trac at osgeo.org
Wed Aug 18 02:24:35 EDT 2010


#1131: Global LFS for wingrass
--------------------------+-------------------------------------------------
 Reporter:  mmetz         |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  critical      |   Milestone:  7.0.0                    
Component:  libgis        |     Version:  svn-trunk                
 Keywords:  LFS,wingrass  |    Platform:  MSWindows 7              
      Cpu:  All           |  
--------------------------+-------------------------------------------------

Comment(by glynn):

 Replying to [comment:16 mmetz]:

 > I think I understand. How about in config.h.in

 > in lib/gis/seek.c new function G_lseek()

 We don't need to go this far. We should be able to count on using off_t,
 lseek() etc without having to wrap them. The reasoning behind G_fseek() is
 different, as we don't want to completely break GRASS on systems which
 lack fseeko().

 I suggest first checking whether it's sufficient to include <io.h> and
 <stdio.h> before defining the macros. Most files will end up including one
 or both of those anyhow, as <grass/gis.h> includes <stdio.h>, and
 <unistd.h> includes <io.h>.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1131#comment:17>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list