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

exec: Handle parent directories more carefully #92

Merged
merged 1 commit into from
May 3, 2021
Merged

exec: Handle parent directories more carefully #92

merged 1 commit into from
May 3, 2021

Conversation

tavianator
Copy link
Contributor

@tavianator tavianator commented Mar 28, 2021

Fixes #23, fixes #28.

@sylvestre
Copy link
Sponsor Contributor

would it be possible to add a test for this? thanks

@tavianator
Copy link
Contributor Author

@sylvestre Done! I added a test for #28 anyway. #23 already had a test from an earlier fix attempt, and it now covers the same code path (parent == Path::new("")).

@sylvestre
Copy link
Sponsor Contributor

Could you please run rustfmt on these files?
thanks

@tavianator
Copy link
Contributor Author

@sylvestre Done!

@sylvestre sylvestre merged commit aab63c0 into uutils:master May 3, 2021
@sylvestre
Copy link
Sponsor Contributor

Sorry for the latency, I missed your last update :)

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.

-execdir doesn't chdir for the root -execdir fails for the root directory
2 participants