[Issue 4354] Phobos should expose per-thread errno
https://issues.dlang.org/show_bug.cgi?id=4354 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --
[Issue 4354] Phobos should expose per-thread errno
https://issues.dlang.org/show_bug.cgi?id=4354 --- Comment #4 from Andrei Alexandrescu --- 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. --
[Issue 4354] Phobos should expose per-thread errno
https://issues.dlang.org/show_bug.cgi?id=4354 Vladimir Panteleev changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME |--- --- Comment #3 from Vladimir Panteleev --- (In reply to RazvanN from comment #2) > Don't mind my previous comment, I guess this should remain open, then. --
[Issue 4354] Phobos should expose per-thread errno
https://issues.dlang.org/show_bug.cgi?id=4354 --- Comment #2 from RazvanN --- Don't mind my previous comment, it is unfinished and it was before actually running the example. --
[Issue 4354] Phobos should expose per-thread errno
https://issues.dlang.org/show_bug.cgi?id=4354 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC||razvan.nitu1...@gmail.com Resolution|--- |WORKSFORME --- Comment #1 from RazvanN --- This is actually a druntime bug since errno isn't defined in phobos, but in this example you could use it because std.stdio has a public import of core.stdc. --
[Issue 4354] Phobos should expose per-thread errno
https://issues.dlang.org/show_bug.cgi?id=4354 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 4354] Phobos should expose per-thread errno
https://issues.dlang.org/show_bug.cgi?id=4354 Andrei Alexandrescu changed: What|Removed |Added Version|D1 & D2 |D2 --