#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:4 hamish]:
> fwiw my glibc docs show vanilla fseek() returning int, it's ftell() that
returns long:
Right. ftell() returns an offset, fseek() accepts one (and returns a
status). The G_* versions should use at least a long for offsets.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1971#comment:6>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev