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

When handling SEL_NEW pass path to abspath call #1770

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

7ocb
Copy link

@7ocb 7ocb commented Nov 21, 2023

If path is not provided to abspath, later will do getcwd, and it's result will differ from path. This causes problem that when creating directory inside path reached with symlink, subsequent call to get_cwd_entry does not recognize newly created path as subpath of current path, thus not selecting newly created element.

If `path` is not provided to `abspath`, later will do `getcwd`, and it's result will differ from `path`. This causes problem that when creating directory inside path reached with symlink, subsequent call to get_cwd_entry does not recognize newly created path as subpath of current path, thus not selecting newly created element.
@jarun
Copy link
Owner

jarun commented Nov 25, 2023

@N-R-K is this required?

@jarun jarun merged commit f2a909d into jarun:master Nov 25, 2023
7 checks passed
@N-R-K
Copy link
Collaborator

N-R-K commented Nov 25, 2023

@N-R-K is this required?

It solves the mentioned problem. The patch seems fine, but didn't test too throughly.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Current selection does not change to newly created dir, if current working directory path contains a symlink
3 participants