[Issue 7972] std.file.read allocate a buffer the size of the file even when given a upper limit

2016-03-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7972

--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/832928adafe372b7fd920b0d7c2e2cf433984b47
Don't allocate more than upTo bytes in std.file.read

Fixes Issue 7972

--


[Issue 7972] std.file.read allocate a buffer the size of the file even when given a upper limit

2016-03-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7972

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 7972] std.file.read allocate a buffer the size of the file even when given a upper limit

2016-03-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7972

Ender KaShae  changed:

   What|Removed |Added

 CC||astrotha...@gmail.com
   Assignee|nob...@puremagic.com|astrotha...@gmail.com

--


[Issue 7972] std.file.read allocate a buffer the size of the file even when given a upper limit

2015-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7972

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|future  |D2

--