Skip to content

Handling of Windows system file status broken since 1.79.0 #234

Closed
@MarcelRaad

Description

@MarcelRaad

Since commit 97722a3, calls like these fail on Windows 10:
boost::filesystem::is_directory(L"C:\\System Volume Information")
boost::filesystem::is_symlink(L"C:\\DumpStack.log")

This is because CreateFileW now fails with ERROR_ACCESS_DENIED, while the previously used GetFileAttributesW succeeded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions