parent
55ab694d79
commit
c79ebc93a2
|
@ -1366,6 +1366,14 @@ namespace {
|
|||
errno = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
/* try again */
|
||||
bool const retry = (errno == EINTR
|
||||
|| errno == EAGAIN
|
||||
|| errno == EWOULDBLOCK);
|
||||
if (errno && retry)
|
||||
continue;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue