https://issues.dlang.org/show_bug.cgi?id=13172 --- Comment #2 from maarten <maartenvd1994 at gmail.com> --- commenting out the line with errnoEnforce in std/stdio.d fixes my problems (but probably breaks a few things). It's not worthy of a patch but it's good enough for me. --