: std.stream.readf segfaults with immutabel format strings
https://github.com/D-Programming-Language/phobos/commit/911ea3144397665a3ddf282e2e38bca104f3f50e
Merge pull request #2224 from Hackerpilot/issue-3363
Fix issue 3363: std.stream.readf segfaults with immutable format strings
--
https://issues.dlang.org/show_bug.cgi?id=3363
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|--
https://issues.dlang.org/show_bug.cgi?id=3363
briancsch...@gmail.com changed:
What|Removed |Added
Keywords||pull
CC|
Indeed this issue is still open.
I've resorted to doing the following, in order to make obvious
(to a future reader of the code) the bug:
int charsRead = fin.readf(cast(char []) "%c\n", &myChar);
Maybe a unittest should be included in the appropriate place
within stream.d?
http://d.puremagic.com/issues/show_bug.cgi?id=3363
Witold Baryluk changed:
What|Removed |Added
Keywords||patch, rejects-valid
C