Restart interrupted select() (happens with -pg).

oldstable
Ove Kaaven 1999-05-09 16:00:35 +00:00 committed by Alexandre Julliard
parent b6ca7a556d
commit bf160c7adc
1 changed files with 4 additions and 1 deletions

View File

@ -179,7 +179,10 @@ void select_loop(void)
}
if (!ret) continue;
if (ret == -1) perror("select");
if (ret == -1) {
if (errno == EINTR) continue;
perror("select");
}
for (i = 0; i <= max_fd; i++)
{