Skip to content

casepath return value is true when a file (but not parent directory) doesn't exist. #4

@minerscale

Description

@minerscale

Hi!

It's me again I found another bug, let's hope this is the last one (isn't C string and path handling a joy?). The return value of casepath is true even when a file doesn't exist. This doesn't actually break fcaseopen or casechdir since fopen will just return NULL anyway but it was a nasty surprise when I used casepath off label on its own to get the valid file path so I could check the date on it.

Thanks,
Aaron.

Metadata

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