Skip to content

Cannot open drive root on Windows #66

Closed
@wojdyr

Description

Hello,

I'm struggling to open the top directory on Windows (C:). Other directories are fine.
For instance, when using file_open_sample.c I get:

C:\msys32\home\IEUser\tinydir>a.exe C:\
Error opening file: No error

C:\msys32\home\IEUser\tinydir>a.exe C:
Error opening file: No error

C:\msys32\home\IEUser\tinydir>a.exe "C:\Program Files"
Path: C:/Program Files
Name: Program Files
Extension:
Is dir? yes
Is regular file? no

i used MinGW here, but I think it's the same with MSVC.
Am I missing something?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions