Simple Code:
module test;
import std.stdio, std.file;
void main()
{
if( exists( "C:\\con.d" ) ) writefln( "EXIST!" );
writefln("END");
}
I try at DMD2.104 and LDC1.33, the EXIST! always show, even I change the path to other indeed existed path still the same.
I've tried:
if( exists( "con" ) ) writefln( "EXIST!" );
Still print EXIST!
x64 and x86 with the same issue.