[Issue 4354] Phobos should expose per-thread errno

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 7 11:46:02 PDT 2017


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

--- Comment #4 from Andrei Alexandrescu <andrei at erdani.com> ---
This is a reproducible problem on Windows (at least with wine). We use a C
small file in druntime (src/core/stdc/errno.c) to make sure we use the C macro.
Far as I can tell the same technique is used across Windows and Posix, which
indicates the problem is with dmc's stdlib.

--


More information about the Digitalmars-d-bugs mailing list