When _kevent() returns with errno = EINTR and timeout is not
exceeded, it should be falldown to next_ns. MFC after: 1 week
This commit is contained in:
parent
c0fdce4463
commit
3d246faa5a
@ -739,11 +739,10 @@ read_len:
|
||||
TIMEVAL_TO_TIMESPEC(&ctv, &ts);
|
||||
goto wait;
|
||||
}
|
||||
} else {
|
||||
Perror(stderr, "kevent", errno);
|
||||
res_close();
|
||||
goto next_ns;
|
||||
}
|
||||
Perror(stderr, "kevent", errno);
|
||||
res_close();
|
||||
goto next_ns;
|
||||
}
|
||||
|
||||
if (n == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user