digitalmars.D.bugs - [Issue 24058] New: Everywhere exists con
- d-bugmail puremagic.com (28/28) Jul 26 2023 https://issues.dlang.org/show_bug.cgi?id=24058
https://issues.dlang.org/show_bug.cgi?id=24058 Issue ID: 24058 Summary: Everywhere exists con Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: nagahiro.kyo gmail.com 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. --
Jul 26 2023