Opened 12 years ago

Closed 7 years ago

#855 closed defect (fixed)

Summary: Big file cannot be opened via FDO provider

Reported by: stevenxu Owned by: zhanga
Priority: major Milestone: 3.8.0
Component: Utilities API Version: 3.8.0
Severity: 3 Keywords:
Cc: External ID: 1470843

Description

The behavior of system call _wstat in VC9 and VC10 is different when handling file which size is bigger than 231. 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.

Change History (1)

comment:1 by jng, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.