Project

General

Profile

Bug #478

>2GB files on Windows

Added by Roland Schulz over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Erik Lindahl
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

Windows doesn't support 64bit off_t (both on 32 and 64 and even with flags like _LARGE_FILES ). Instead one has to use _fseeki64 with _int64. Thus the wrapper in gmx_fio should use that if compiled on Windows.

History

#1 Updated by Sander Pronk over 9 years ago

Fixed. I added support for an OS-independent gmx_fseek/gmx_ftell in futil.h. off_t should be gmx_off_t.

Also available in: Atom PDF