Bug 16544 – Add File.reopen

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-09-26T14:36:00Z
Last change time
2016-10-01T11:47:27Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2016-09-26T14:36:48Z
The C freopen function allows changing the file modes of a currently open file. The function should be exposed via a std.stdio.File function as well. http://www.cplusplus.com/reference/cstdio/freopen/
Comment #1 by dlang-bugzilla — 2016-09-26T15:32:55Z
Comment #2 by github-bugzilla — 2016-09-30T13:04:32Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/d63572fd775920b8d78c263c95ac45f387c09ba6 Fix Issue 16544 - Add File.reopen https://github.com/dlang/phobos/commit/59b6392f2067d841385abd37c9eba45d18eaf7b7 Merge pull request #4822 from CyberShadow/pull-20160926-152950 Fix Issue 16544 - Add File.reopen
Comment #3 by github-bugzilla — 2016-10-01T11:47:27Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/d63572fd775920b8d78c263c95ac45f387c09ba6 Fix Issue 16544 - Add File.reopen https://github.com/dlang/phobos/commit/59b6392f2067d841385abd37c9eba45d18eaf7b7 Merge pull request #4822 from CyberShadow/pull-20160926-152950