Skip to content

Conversation

ArniDagur
Copy link

This should fix the problems with #971 and #1008.

@asomers
Copy link
Member

asomers commented Jun 7, 2019

You'll need to rebase and fix the CHANGELOG entry. Also, please wrap everything to 80 columns.

Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I said "wrap everything to 80 columns" I meant to only wrap new code, not existing code. Now you have a big change that mixes style with content. That's not good. Please undo it. If you want to wrap the rest of the file, that should be done as a separate commit.

@ArniDagur
Copy link
Author

This should be fine, right?

Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It all LGTM now, but you need to rebase to fix the CHANGELOG.

@ArniDagur
Copy link
Author

I have rebased and fixed the changelog.

Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

bors bot added a commit that referenced this pull request Jun 16, 2019
1069: Implement copy_file_range() r=asomers a=ArniDagur

This should fix the problems with #971 and #1008.

Co-authored-by: Árni Dagur <arnidg@protonmail.ch>
@bors
Copy link
Contributor

bors bot commented Jun 16, 2019

Build succeeded

@bors bors bot merged commit 0f19012 into nix-rust:master Jun 16, 2019
@ArniDagur
Copy link
Author

@asomers It seems that I made a mistake in this PR: The function should be in unistd.h, not fcntl.h. Perhaps this should be fixed in the next major version?

@asomers
Copy link
Member

asomers commented Jan 11, 2020

Honestly I wouldn't bother. The user disruption that would come by renaming the symbol isn't worth the gain to consistency.

@dubiousjim
Copy link

Why not export it in the correct place, and re-export it in nix::fcntl with a comment in the docs to say this export will eventually go away.

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