DiskFile::GetFileSize() in diskfile.cpp uses stat() to determine file size, but st_size is a signed 32 bit integer. We should use stat64(). The attached patch fixes the file size detection on windows.
_stat to _stati64
Log in to post a comment.
_stat to _stati64