-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Signal controlling constants for windows #1626
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,7 +233,13 @@ pub const SIGSEGV: ::c_int = 11; | |
pub const SIGTERM: ::c_int = 15; | ||
pub const SIGABRT: ::c_int = 22; | ||
pub const NSIG: ::c_int = 23; | ||
|
||
pub const SIG_ERR: ::c_int = -1; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Also There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I'll take a PR to fix this, but I'll prefer if this change were in a different PR, and not here. We probably need to do a crater run while rolling in this change. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just keep in mind we can't naively use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, we need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
pub const SIG_DFL: ::sighandler_t = 0; | ||
pub const SIG_IGN: ::sighandler_t = 1; | ||
pub const SIG_GET: ::sighandler_t = 2; | ||
pub const SIG_SGE: ::sighandler_t = 3; | ||
pub const SIG_ACK: ::sighandler_t = 4; | ||
gnzlbg marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
// inline comment below appeases style checker | ||
#[cfg(all(target_env = "msvc", feature = "rustc-dep-of-std"))] // " if " | ||
|
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.
Can we add them with the right type ?