Summary: Phobos + linux problems with files > 2GB
           Product: D
           Version: 1.057
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos

--- Comment #0 from Egon Elbre <> 2010-04-04 15:50:46 PDT ---
Phobos is unable to seek/position positions that are > int.max

import std.stdio;
import std.string;

int main(string[] args){
    auto file = new BufferedFile(args[1]); + cast(ulong) atoi(args[2]), SeekPos.Set);
    writefln("%d", file.position);
    return 1;

Problem also happens with trying to use MMFile with files larger than int.max.

Probably related to bug 3409.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to