Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
simonlaszcz opened this issue Sep 18, 2024 · 0 comments
Open

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

simonlaszcz opened this issue Sep 18, 2024 · 0 comments

Comments

@simonlaszcz
Copy link

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?

@simonlaszcz simonlaszcz changed the title stat("C:\", somebuf) fails and returns -1 stat("C:\", somebuf) fails, returning -1 Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant