[Issue 3363] std.stream.readf segfaults with immutable format strings

PlatisYialos leonidasklados at gmail.com
Fri May 18 10:33:19 PDT 2012


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?



More information about the Digitalmars-d-bugs mailing list