[Issue 11791] std.file.write failed to write huge files

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 28 00:45:17 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11791



--- Comment #3 from Илья Ярошенко <ilyayaroshenko at gmail.com> 2014-01-28 00:45:15 PST ---
(In reply to comment #2)
> import std.file;
> 
> void main() {
>     auto data = new byte[2L^^31];
>     std.file.write("data", data);
> }
> 
> std.file.FileException at std/file.d(391): data: Success

works fine with 2L^^30

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list