Remove old workaround
This commit is contained in:
parent
9e9e575b6a
commit
f30595058e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117944
@ -590,9 +590,7 @@ event_loop(void)
|
|||||||
FD_SET(fd, &fds);
|
FD_SET(fd, &fds);
|
||||||
rv = select(fd + 1, &fds, &fds, &fds, &tv);
|
rv = select(fd + 1, &fds, &fds, &fds, &tv);
|
||||||
// No events -> we've processed all pending events
|
// No events -> we've processed all pending events
|
||||||
// == 2 is a kernel bug, but we hang if we don't
|
if (rv == 0) {
|
||||||
// make allowances for a while.
|
|
||||||
if (rv == 0 || rv == 2) {
|
|
||||||
if (Dflag)
|
if (Dflag)
|
||||||
fprintf(stderr, "Calling daemon\n");
|
fprintf(stderr, "Calling daemon\n");
|
||||||
daemon(0, 0);
|
daemon(0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user