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

Change KEvent to treat udata as an intptr_t instead of a uintptr_t. #463

Merged
merged 2 commits into from
Nov 15, 2016

Conversation

asomers
Copy link
Member

@asomers asomers commented Nov 11, 2016

This matches NetBSD's C definitions. Other operating systems define
it as void*, despite not really being a pointer, but none actually
define it as uintptr_t. Better to be right on NetBSD and wrong
everywhere else than wrong everywhere. Plus, it's what mio expects.

Please include this PR in nix 0.8.0

This matches NetBSD's C definitions.  Other operating systems define
it as void*, despite not really being a pointer, but none actually
define it as uintptr_t.  Better to be right on NetBSD and wrong
everywhere else than wrong everywhere.  Plus, it's what mio expects.
@asomers
Copy link
Member Author

asomers commented Nov 13, 2016

The only test failure was due to a problem setting up the VM and was not caused by this PR.

@fiveop
Copy link
Contributor

fiveop commented Nov 14, 2016

I think it's fine, except for the missing CHANGELOG.md entry.

@asomers
Copy link
Member Author

asomers commented Nov 14, 2016

Does it really need a CHANGELOG entry if it makes it into the same release as PR #415 ? I consider this PR to just be a tweak to that one.

@fiveop
Copy link
Contributor

fiveop commented Nov 14, 2016

It does not need its own entry then, but we should link to both PRs.

@asomers
Copy link
Member Author

asomers commented Nov 14, 2016

Ok, I'll update it.

@fiveop
Copy link
Contributor

fiveop commented Nov 15, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Nov 15, 2016

📌 Commit 7e96529 has been approved by fiveop

@homu homu merged commit 7e96529 into nix-rust:master Nov 15, 2016
@homu
Copy link
Contributor

homu commented Nov 15, 2016

⚡ Test exempted - status

homu added a commit that referenced this pull request Nov 15, 2016
Change KEvent to treat udata as an intptr_t instead of a uintptr_t.

This matches NetBSD's C definitions.  Other operating systems define
it as void*, despite not really being a pointer, but none actually
define it as uintptr_t.  Better to be right on NetBSD and wrong
everywhere else than wrong everywhere.  Plus, it's what mio expects.

Please include this PR in nix 0.8.0
@asomers asomers deleted the kevent branch November 20, 2016 03:40
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.

None yet

3 participants