Skip to content

cf_path_top_directory returns incorrect value on Windows. #234

@waldnercharles

Description

@waldnercharles

Passing C:/Users/waldnercharles to cf_path_top_directory appears to return C:/Use. I believe this is because we should be calling char* s = sdup(path + at); instead of char* s = sdup(path);, but haven't had time to look at the unit tests.

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