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

cf_path_top_directory returns incorrect value on Windows. #234

Open
waldnercharles opened this issue Sep 23, 2024 · 0 comments
Open

cf_path_top_directory returns incorrect value on Windows. #234

waldnercharles opened this issue Sep 23, 2024 · 0 comments

Comments

@waldnercharles
Copy link
Contributor

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.

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