www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2014] New: fopen fails on large files

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

           Summary: fopen fails on large files
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: andrei metalanguage.com
        ReportedBy: andrei metalanguage.com


fopen fails of files larger than 2^31 bytes on 32-bit Linux systems. This is a
known issue in the gnu library, which offers fopen64 as a fix. See
http://www.gnu.org/software/libtool/manual/libc/Opening-Streams.html.

I think I will simply have phobos' fopen forward to fopen64 on linux. Are there
any reasons for not doing so?


-- 
Apr 19 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2014


bugzilla digitalmars.com changed:

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





Fixed dmd 2.014


-- 
May 22 2008