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

rustbuild: Fix a distribution bug with rustdoc #44498

Merged
merged 1 commit into from
Sep 12, 2017

Conversation

alexcrichton
Copy link
Member

Apparently File::create was called when there was an existing hard link or the
like, causing an existing file to get accidentally truncated!

Closes #44487

Apparently `File::create` was called when there was an existing hard link or the
like, causing an existing file to get accidentally truncated!

Closes rust-lang#44487
@rust-highfive
Copy link
Collaborator

r? @aturon

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

@alexcrichton
Copy link
Member Author

r? @Mark-Simulacrum

@alexcrichton
Copy link
Member Author

I'm gonna go ahead an r+ and see if we can get this in to fix nightlies...

@bors: r+ p=100

@bors
Copy link
Contributor

bors commented Sep 11, 2017

📌 Commit eb26d5b has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Sep 11, 2017

⌛ Testing commit eb26d5b with merge 07d950f...

bors added a commit that referenced this pull request Sep 11, 2017
rustbuild: Fix a distribution bug with rustdoc

Apparently `File::create` was called when there was an existing hard link or the
like, causing an existing file to get accidentally truncated!

Closes #44487
@Mark-Simulacrum
Copy link
Member

Looks good to me, though a comment would be nice.

@bors
Copy link
Contributor

bors commented Sep 12, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 07d950f to master...

@bors bors merged commit eb26d5b into rust-lang:master Sep 12, 2017
@alexcrichton alexcrichton deleted the fix-nightlies branch September 12, 2017 04:13
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.

5 participants