Skip to content

rustbuild: Fix copy helper with existing files #38405

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

Merged
merged 1 commit into from
Dec 19, 2016

Conversation

alexcrichton
Copy link
Member

This erroneously truncated files when the destination already existed and was an
existing hard link to the source. This in turn caused weird bugs!

Closes #37745

This erroneously truncated files when the destination already existed and was an
existing hard link to the source. This in turn caused weird bugs!

Closes rust-lang#37745
@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@japaric
Copy link
Member

japaric commented Dec 16, 2016

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 16, 2016

📌 Commit a519305 has been approved by japaric

@bors
Copy link
Collaborator

bors commented Dec 16, 2016

⌛ Testing commit a519305 with merge cdeb33e...

@bors
Copy link
Collaborator

bors commented Dec 16, 2016

💔 Test failed - auto-win-msvc-64-cargotest

@alexcrichton
Copy link
Member Author

alexcrichton commented Dec 16, 2016 via email

@sanxiyn
Copy link
Member

sanxiyn commented Dec 19, 2016

@bors retry

@bors
Copy link
Collaborator

bors commented Dec 19, 2016

⌛ Testing commit a519305 with merge 3f9823d...

bors added a commit that referenced this pull request Dec 19, 2016
rustbuild: Fix `copy` helper with existing files

This erroneously truncated files when the destination already existed and was an
existing hard link to the source. This in turn caused weird bugs!

Closes #37745
@bors bors merged commit a519305 into rust-lang:master Dec 19, 2016
@alexcrichton alexcrichton deleted the rustbuild-fixes branch December 19, 2016 20:45
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.

6 participants