Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
August 13, 2014 [Issue 9661] LockingTextWriter should increment file handle reference count | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9661 Justin Whear <justin@economicmodeling.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |justin@economicmodeling.com --- Comment #1 from Justin Whear <justin@economicmodeling.com> --- +1 I spent an hour in frustration because of a line like this: auto buf = File("somefile", "w").lockingTextWriter(); Because the File is temporary, it immediately closes and leaves you with a LockingTextWriter with a bad handle. Since the whole point of wrapping FILE* with File is to manage its lifetime, lockingTextWriter really needs to increment and decrement the ref count. -- |
October 17, 2017 [Issue 9661] LockingTextWriter should increment file handle reference count | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9661 alex.jercaianu@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex.jercaianu@gmail.com Assignee|nobody@puremagic.com |alex.jercaianu@gmail.com -- |
November 14, 2017 [Issue 9661] LockingTextWriter should increment file handle reference count | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9661 --- Comment #2 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/cb67c5d50f3898300e2b314f9f8695ba0fe6b850 Fix Issue 9661 - LockingTextWriter should increment file handle reference count test for locking binary writer https://github.com/dlang/phobos/commit/99002c366bfd57104e943b74cf28adea0721612d Merge pull request #5792 from jercaianu/lockingtextwriter Fix Issue 9661 - LockingTextWriter should increment file handle reference count merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com> -- |
November 14, 2017 [Issue 9661] LockingTextWriter should increment file handle reference count | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9661 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
December 18, 2017 [Issue 9661] LockingTextWriter should increment file handle reference count | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9661 --- Comment #3 from github-bugzilla@puremagic.com --- Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/cb67c5d50f3898300e2b314f9f8695ba0fe6b850 Fix Issue 9661 - LockingTextWriter should increment file handle reference count https://github.com/dlang/phobos/commit/99002c366bfd57104e943b74cf28adea0721612d Merge pull request #5792 from jercaianu/lockingtextwriter -- |
Copyright © 1999-2021 by the D Language Foundation