[Issue 9776] Make raw write mode the default
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jun 16 08:58:25 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=9776
Nick Sabalausky <cbkbbejeap at mailinator.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |FIXED
--- Comment #6 from Nick Sabalausky <cbkbbejeap at mailinator.com> ---
(In reply to Vladimir Panteleev from comment #4)
> (In reply to Nick Sabalausky from comment #3)
> > auto str = cast(string) std.file.read("input.txt");
> > stdout.write(str);
>
> Do not mix C I/O with OS I/O APIs.
It's not at all clear that std.file and std.stdio use completely different APIs
internally. To the avrage D user, it's all just Phobos API.
(In reply to Vladimir Panteleev from comment #5)
>
> But it's still a breaking change.
So are most bugfixes.
--
More information about the Digitalmars-d-bugs
mailing list