mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Back out my backout, it was already posix compliant. Any new fields are
required to be "announced" by a new bit in sa_flags to indicate the program is aware of and has taken care of them. eg: SA_SIGINFO means the program has used the sa_siginfo field (versus sa_handler).
This commit is contained in:
parent
534e0080ae
commit
1ce6e9e1c5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51764
@ -665,7 +665,6 @@ res_send(buf, buflen, ans, anssiz)
|
||||
pfd.fd = s;
|
||||
pfd.events = POLLIN;
|
||||
if (use_poll == 1) {
|
||||
bzero(&sa, sizeof(sa));
|
||||
sigemptyset(&sa.sa_mask);
|
||||
sa.sa_flags = 0;
|
||||
sa.sa_handler = SIG_IGN;
|
||||
|
Loading…
Reference in New Issue
Block a user