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

VFS: Fix mounting non-existant paths #13488

Merged
merged 5 commits into from
Mar 4, 2023
Merged

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Mar 4, 2023

resolve_path is just a simplification of path compariosns I added in the past for savestates. It is not
required to succeed, nor should VFS care whether the file path exists or not.

@Megamouse
Copy link
Contributor

Shouldn't this be handled in resolve_path?
The current way is super unintuitive and undocumented.
No one knows this behaviour except you and me

@elad335
Copy link
Contributor Author

elad335 commented Mar 4, 2023

There was a pr to use std::filesystem::weakly_canonical which is claimed to not have this issue, but it got closed due to a suspection of a bug.

@Megamouse
Copy link
Contributor

At least add a comment to the callback or whatever

@Megamouse Megamouse merged commit 8bc92a2 into RPCS3:master Mar 4, 2023
@elad335 elad335 deleted the patch-22 branch May 6, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants