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

Bugfix: sanitize_dir: use pathlib to handle case-insensitive filesystems #6398

Merged
merged 6 commits into from
Jan 30, 2020

Conversation

scivision
Copy link
Member

@scivision scivision commented Dec 31, 2019

fixes #6395

The unit tests needed to be updated to accurately reflect Windows path behavior. The prior method was fine for Posix-like filesystems, but conflicted with the distinct behavior of Windows paths respected in Python pathlib. This issue creeps up from time to time as we continue to implement pathlib inside Meson, this is just one step in that transition.

d31cbf6 was just an obvious change for unreachable/dead code I happened across.

I would suggest squashing these commits if desired, either way is fine. I just left them unsquashed to show the various steps needed to remove always-Posix assumptions from the relevant code.

@scivision scivision added bug OS:windows Winodows OS specific issues labels Dec 31, 2019
@scivision scivision changed the title sanitize_dir: use pathlib to handle case-insensitive filesystems Bugfix: sanitize_dir: use pathlib to handle case-insensitive filesystems Jan 2, 2020
@jpakkane jpakkane merged commit 00f5dad into mesonbuild:master Jan 30, 2020
@scivision scivision deleted the pathcaseins branch February 6, 2020 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug OS:windows Winodows OS specific issues
Projects
None yet
2 participants