Skip to content

stat("C:\", somebuf) fails, returning -1 #128

@simonlaszcz

Description

@simonlaszcz

Hi.

When a root directory such as 'C:' is passed to stat(), it fails and returns -1. Presumably because the call to FsFirst() fails.

However, perhaps it should succeed with st_mode set to R/W/S_IFDIR?

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