Bug 579 – BufferedFile fails open big files

Status
RESOLVED
Resolution
INVALID
Severity
major
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-11-20T01:59:00Z
Last change time
2014-02-15T13:28:48Z
Assigned to
bugzilla
Creator
kurtz

Comments

Comment #0 by kurtz — 2006-11-20T01:59:30Z
If I try to open a big file (2.6 Gbyte) as BufferedFile I get the message: Error: Cannot open or create file 'test.xml'
Comment #1 by thomas-dloop — 2007-04-29T04:00:33Z
*** Bug 1105 has been marked as a duplicate of this bug. ***
Comment #2 by thomas-dloop — 2007-04-29T04:02:44Z
The C API used by phobos only supports (2GB - 1byte) files. While it is possible to circumvent the issue by using the LARGEFILE64 API that API isn't guaranteed to be present on all Linux systems.