[Issue 2065] New: Return value of std.file.exists() is inverted.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 2 19:29:03 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2065
Summary: Return value of std.file.exists() is inverted.
Product: D
Version: 2.014
Platform: PC
URL: http://dsource.org/projects/phobos/changeset/683
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: andrei at metalanguage.com
ReportedBy: torhu at yahoo.com
In r683, the Windows version of this function is changed into return the wrong
value.
The correct return statement would be "return result != 0xFFFFFFFF;"
The relevant docs:
http://msdn.microsoft.com/en-us/library/aa915578.aspx
--
More information about the Digitalmars-d-bugs
mailing list