https://issues.dlang.org/show_bug.cgi?id=9776

Vladimir Panteleev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX

--- Comment #4 from Vladimir Panteleev <[email protected]> ---
I seriously doubt this is going to be changed as long as we use the C I/O API.
Not to mention that this would be a breaking change.

(In reply to Nick Sabalausky from comment #0)
> completely unnecessary on all versions of windows that
> DMD/Phobos supports (ie, at *least* as far back as XP).

Wrong, the Windows console still treats \n as "line feed without carriage
return".

(In reply to Andrej Mitrovic from comment #2)
>     auto file2 = File("test2.txt", "w");

Use "wb" as the file mode, this is what it's for.

(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.

--

Reply via email to