July 26, 2023 [Issue 24058] New: Everywhere exists con | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation