www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 579] New: BufferedFile fails open big files

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=579

           Summary: BufferedFile fails open big files
           Product: D
           Version: 0.174
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: kurtz biox.de


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'


-- 
Nov 19 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=579


thomas-dloop kuehne.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Alexander.Blum gmail.com




------- Comment #1 from thomas-dloop kuehne.cn  2007-04-29 04:00 -------
*** Bug 1105 has been marked as a duplicate of this bug. ***


-- 
Apr 29 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=579


thomas-dloop kuehne.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from thomas-dloop kuehne.cn  2007-04-29 04:02 -------
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.


-- 
Apr 29 2007