fix(libc): resolve case differences in guest paths and mounts #1321
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1321"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by TibixDev on 2026-10-07T23:33:15Z.
What
Resolve ASCII case differences in guest paths and mount aliases. Prefer exact names, preserve new filenames, and reject ambiguous fallback matches. Do not cache directory results, so renames stay visible.
Supersedes #1079. This version also handles mount aliases, blocked mounts, dangling symlinks, and ambiguous names. Tests use guest file APIs as well as path resolution. #1101 concerns Windows module dependency names, a separate path.
Tested
Fedora 44, Release: path-case, app-content, working-directory, directory, and filesystem tests. Covers open, read, create, stat, rename, removal, aliases, and conflicting names. Contribution checks pass.
The combined fork loaded Skyrim files that differ in case from requested names. This isolated branch was not run in-game. Unicode folding and console behavior for case collisions remain unverified; Windows was not tested.
Checklist
main; prerequisite and competing implementation checked.Imported from boykopovar/AnyPS5. Originally posted by TibixDev on 2026-10-08T07:03:51Z.
Rebased on
bc1fbe81. Rebased the path-case change onto the updated #1320 parent. Kept exact-name preference and ambiguous-name rejection.Fedora 44 Release:
guest_path_case_tests,guest_appcontent_tests,guest_working_directory_tests,guest_directory_tests,guest_filesystem_testsbuild; the targeted tests and contribution checks pass. Windows CI is pending.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-08T12:37:53Z.
Rebased onto current
main(#1320 is merged, so its commit is dropped) and added one commit: the new test used a title's file names (Skyrim.*); it now uses generic ones. Also updated the PR body (no longer depends on #1320).Checked: full build and ctest on the rebase (452/452);
guest_path_casefails without the change; exact-name preference, ambiguous-name rejection and alias handling behave as described. Not run: a real title, Windows at runtime, Unicode folding.#1079 touches the same function and test file; this one supersedes it, so #1079 should be closed once this lands. Merging when CI is green.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T12:42:58Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/TechnicalDebt.mdL329