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

Fix trailing slash in link #46

Merged
merged 2 commits into from
Jul 28, 2021
Merged

Fix trailing slash in link #46

merged 2 commits into from
Jul 28, 2021

Conversation

imlk0
Copy link
Collaborator

@imlk0 imlk0 commented Jul 28, 2021

This is an addition to the patches of #41

The previous fix missed the handling of trailing slash in symbolic link files.

In the following example, using stat -L to look at all these three symbolic link files would result in success. But the latter two should theoretically fail, since file is not a dir.
image

This PR contains the corresponding fixes and test files

@imlk0 imlk0 added the bug label Jul 28, 2021
@imlk0 imlk0 added this to the v0.0.1 milestone Jul 28, 2021
@imlk0 imlk0 requested a review from oxr463 July 28, 2021 03:33
@imlk0 imlk0 self-assigned this Jul 28, 2021
@oxr463 oxr463 merged commit 11e63b2 into master Jul 28, 2021
@oxr463 oxr463 deleted the fix-trailing-slash-in-link branch July 28, 2021 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants