-
Notifications
You must be signed in to change notification settings - Fork 674
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 SigFlags into an enum. #460
Conversation
The PR looks good. I agree that the name should be different. I cannot think of a good naming convention that would work for all enumerations (e.g. In addition, could you please add an entry to CHANGELOG.md describing the breaking change. |
I was thinking of something like I'm probably making way too much of a fuss about naming though ;) I'll hold off on the CHANGELOG changes until we figure this out I guess. |
I went ahead and pushed a rename to |
2f44c66
to
e19f142
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last tiny request.
@@ -36,6 +36,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). | |||
accessible with the new method `events()` of `EpollEvent`. Instances of | |||
`EpollEvent` can be constructed using the new method `new()` of EpollEvent. | |||
([#410](https://github.com/nix-rust/nix/pull/410)) | |||
- `SigFlags` in `::nix::sys::signal` has be renamed to `SigmaskHow` and its type | |||
has changed from `bitflags` to `enum` in order to conform to our conventions. | |||
([#410](https://github.com/nix-rust/nix/pull/460)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll just fix it in a separate commit.
@homu r+ |
📌 Commit e19f142 has been approved by |
Change SigFlags into an enum. Addresses #459. This is a breaking change. Should SigFlags be renamed to something more sensible?
☀️ Test successful - status |
1 similar comment
☀️ Test successful - status |
Addresses #459.
This is a breaking change.
Should SigFlags be renamed to something more sensible?