[Fdo-trac] [fdo-trac] #855: Summary: Big file cannot be opened via FDO provider
FDO
trac_fdo at osgeo.org
Mon Dec 3 18:33:39 PST 2012
#855: Summary: Big file cannot be opened via FDO provider
-----------------------------+----------------------------------------------
Reporter: stevenxu | Owner: zhanga
Type: defect | Status: new
Priority: major | Milestone: 3.8.0
Component: Utilities API | Version: 3.8.0
Severity: 3 | Keywords:
External_id: 1470843 |
-----------------------------+----------------------------------------------
The behavior of system call _wstat in VC9 and VC10 is different when
handling file which size is bigger than 2^31.
In VC9, it returns 0. But in VC10, it returns -1. Then some checks will be
failed when opening a big file, which
results in the big file cannot be opened in Map.
To fix this issue, we need to use _wstat64 instead of _wstat.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/855>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list