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

Operate broken symbolic links is safe now #68

Merged
merged 2 commits into from
May 17, 2023

Conversation

TD-Sky
Copy link
Contributor

@TD-Sky TD-Sky commented May 17, 2023

Broken symbolic link safety means even if the symbolic link is broken, it's still considered to exist. So the existence judgment with assert! in mod freedesktop won't panic anymore.

I peel off this code from PR #65. I regret committing so much code at once.

In addition, I have tested the broken symbolic safety in Windows and found that Windows is naturally safe in this respect. So we don't need to change the implementation on Windows.

Copy link
Owner

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for getting this going! I think this one can be merged swiftly!

Once the small change was made I am happy to merge and publish a new patch release.

src/freedesktop.rs Outdated Show resolved Hide resolved
Copy link
Owner

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for getting this going! I think this one can be merged swiftly!

Once the small change was made I am happy to merge and publish a new patch release.

@Byron Byron merged commit 454a77e into Byron:master May 17, 2023
@Byron
Copy link
Owner

Byron commented May 17, 2023

And here is the new release.

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

Successfully merging this pull request may close these issues.

2 participants