Skip to content

[The D Bug Tracker] "File does not exist" FileException on c:\hiberfil.sys #10442

Open
@dlangBugzillaToGithub

Description

@dlangBugzillaToGithub

vital.fadeev reported this on 2020-10-04T06:53:46Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=21289

Description

Created attachment 1805
file

"File does not exist" FileException on existent file: c:\hiberfil.sys


Source code:

import std.stdio;

void main()
{
    import std.file : DirEntry;

    writeln( DirEntry( "c:\\hiberfil.sys" ).isDir() );
}

I expected "false".

Not FileException.

Because "c:\\hiberfil.sys" is exist.

!!!There are attachements in the bugzilla issue that have not been copied over!!!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions