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

Assure copy_files_except_ext(..) won't copy directories into itself #1135

Merged
merged 1 commit into from
Feb 29, 2020
Merged

Conversation

Byron
Copy link
Member

@Byron Byron commented Jan 31, 2020

This prevents recursive copy-loops when the destination directory
is contained in the source directory.

Now it bails out with a descriptive error message.

This prevents recursive copy-loops when the destination directory
is contained in the source directory.

Now it bails out with a descriptive error message.
@Dylan-DPC-zz Dylan-DPC-zz merged commit d7a2b29 into rust-lang:master Feb 29, 2020
@XAMPPRocky XAMPPRocky mentioned this pull request Apr 3, 2020
ehuss added a commit to ehuss/mdBook that referenced this pull request Apr 3, 2020
Dylan-DPC-zz pushed a commit that referenced this pull request Apr 3, 2020
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
…ust-lang#1135)

This prevents recursive copy-loops when the destination directory
is contained in the source directory.

Now it bails out with a descriptive error message.
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
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.

3 participants