[Issue 24058] New: Everywhere exists con
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 26 09:37:39 UTC 2023
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 at puremagic.com
Reporter: nagahiro.kyo at 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.
--
More information about the Digitalmars-d-bugs
mailing list