std: remove awareness of POLL signal

this signal seems to be deprecated and/or useless on every target
This commit is contained in:
Andrew Kelley 2025-10-27 16:18:14 -07:00
parent 8b269f7e18
commit 80a341b411
2 changed files with 0 additions and 4 deletions

View File

@ -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);
}

View File

@ -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