mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
std: remove awareness of POLL signal
this signal seems to be deprecated and/or useless on every target
This commit is contained in:
parent
8b269f7e18
commit
80a341b411
2 changed files with 0 additions and 4 deletions
|
|
@ -771,9 +771,6 @@ fn maybeIgnoreSignals() void {
|
|||
if (@hasField(posix.SIG, "IO") and !std.options.keep_sig_io)
|
||||
posix.sigaction(.IO, &act, null);
|
||||
|
||||
if (@hasField(posix.SIG, "POLL") and !std.options.keep_sig_poll)
|
||||
posix.sigaction(.POLL, &act, null);
|
||||
|
||||
if (@hasField(posix.SIG, "PIPE") and !std.options.keep_sig_pipe)
|
||||
posix.sigaction(.PIPE, &act, null);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -144,7 +144,6 @@ pub const Options = struct {
|
|||
|
||||
crypto_fork_safety: bool = true,
|
||||
|
||||
keep_sig_poll: bool = false,
|
||||
keep_sig_io: bool = false,
|
||||
|
||||
/// By default Zig disables SIGPIPE by setting a "no-op" handler for it. Set this option
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue