[Issue 7022] File.byLine doesn't release file handle

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 28 14:17:51 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7022



--- Comment #5 from github-bugzilla at puremagic.com 2012-05-28 14:19:34 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/bff3254afc020df1fd55565930c394993334d509
File.detach should decrement the ref count - Issue 7022

Because detach invalidates a copy of the File struct it should also decrement
the ref count.
The File destructor doesn't take care of this because by then p is already
null.

https://github.com/D-Programming-Language/phobos/commit/fa52571d8c7d128393fae5b61f0018d53726425f
Merge pull request #530 from MikeWey/patch-1

File.detach should decrement the ref count - Issue 7022

-- 
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