[Issue 3410] New: std.stdio.File.tell() doesn't work for files >2GB
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Oct 16 23:05:16 PDT 2009
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=3410
           Summary: std.stdio.File.tell() doesn't work for files >2GB
           Product: D
           Version: 2.035
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com
--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2009-10-16 23:05:15 PDT ---
THe C function returns an int, which wraps around to negative values for files
>2GB, and the result of File.tell() is some absurd number that you get when you
cast this value to a ulong, I think.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list