[Issue 2014] New: fopen fails on large files

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 19 11:43:11 PDT 2008


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 at metalanguage.com
        ReportedBy: andrei at 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?


-- 



More information about the Digitalmars-d-bugs mailing list