digitalmars.D.bugs - [Issue 3410] New: std.stdio.File.tell() doesn't work for files >2GB
- d-bugmail puremagic.com (18/19) Oct 16 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3410
- d-bugmail puremagic.com (7/7) Oct 17 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3410
- d-bugmail puremagic.com (13/15) Oct 17 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3410
- d-bugmail puremagic.com (10/10) Jun 05 2011 http://d.puremagic.com/issues/show_bug.cgi?id=3410
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 puremagic.com ReportedBy: dsimcha yahoo.com THe C function returns an int, which wraps around to negative values for files2GB, and the result of File.tell() is some absurd number that you get when youcast this value to a ulong, I think. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 16 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3410 Note that std.stream gets this right on Win32 but not Linux by using the Win32 API directly. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 17 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3410 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei metalanguage.com AssignedTo|nobody puremagic.com |andrei metalanguage.com 09:01:22 PDT ---Note that std.stream gets this right on Win32 but not Linux by using the Win32 API directly.Casting won't help much, we need the long. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 17 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3410 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|andrei metalanguage.com |nobody puremagic.com 08:54:56 PDT --- Putting this up for grabs as I don't have Windows. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 05 2011