[Issue 14469] file.readText on Win64 doesn't work for files > 4GB.

2017-07-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14469 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/95fd043dc6d0c945c171f8874761e1399a11252c Fix Issue 14469 - read > 4GB file on Windows x64. http

[Issue 14469] file.readText on Win64 doesn't work for files > 4GB.

2015-05-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14469 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/95fd043dc6d0c945c171f8874761e1399a11252c Fix Issue 14469 - read

[Issue 14469] file.readText on Win64 doesn't work for files > 4GB.

2015-05-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14469 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 14469] file.readText on Win64 doesn't work for files > 4GB.

2015-04-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14469 --- Comment #2 from Kenny Alive --- The above algorithm for reading file has a bug. chunkSize should be calculated like this: uint chunkSize = min(size - totalNumRead, 0x); --

[Issue 14469] file.readText on Win64 doesn't work for files > 4GB.

2015-04-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14469 --- Comment #1 from Kenny Alive --- Additionally since ReadFile (and ReadFileEx too) can read file in chunks not larger than 4GB the file reading code should be updated to something like this: ulong totalNumRead = 0; while (t