https://issues.dlang.org/show_bug.cgi?id=13241
Issue ID: 13241
Summary: writeln no longer flushes stdout
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: regression
Priority: P1
Component: Phobos
Assignee: [email protected]
Reporter: [email protected]
Windows test case:
///////////////// test.d /////////////////
import std.stdio;
extern(System) void ExitProcess(int code);
void main()
{
writeln("Test!");
ExitProcess(0);
}
//////////////////////////////////////////
Before, the line showed up immediately after the writeln.
This bug causes issues for programs that display their status to stdout/stderr.
Introduced in https://github.com/D-Programming-Language/phobos/pull/2334
--