[GRASS-dev] [GRASS GIS] #1971: 64bit LFS support for G_ftell() and PRI_OFF_T gis.h
GRASS GIS
trac at osgeo.org
Sat May 11 01:56:52 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 glynn):
Replying to [comment:3 hamish]:
> Replying to [comment:2 glynn]:
> > (didn't LFS have to be enabled on a module-by-module basis in 6.x?).
>
> not any more:
{{{
r40620 | glynn | 2010-01-23 03:19:24 +1300 (Sat, 23 Jan 2010) | 4 lines
}}}
That's trunk.
> > 7.0 has 31 uses of G_ftell() and 48 uses of G_fseek() [...]. The fact
> > that 6.x only has one use indicate that everything else is using plain
> > ftell(), which means that it will fail on files larger than 2GiB.
>
> outside of libgis, the module priorities would seem to me to be:
FWIW, the modules and libraries which use G_fseek() and G_ftell() in 7.x
are:
{{{
general/g.rename
imagery/i.find
include/iostream
lib/dspf
lib/gis
lib/iostream
lib/raster
lib/raster3d
lib/rst/interp_float
lib/sites
lib/vector/Vlib
lib/vector/diglib
ps/ps.map
raster/r.coin
raster/r.cut.mat
raster/r.in.arc
raster/r.in.ascii
raster/r.in.bin
raster/r.in.mat
raster/r.in.poly
raster/r.in.xyz
raster3d/r3.in.bin
vector/v.in.dxf
vector/v.support
vector/v.vol.rst
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1971#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list