mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 08:42:28 +00:00
Make Reddit users happy
This commit is contained in:
parent
fcfe7c1080
commit
3e17c7b20f
1 changed files with 0 additions and 2 deletions
|
@ -486,7 +486,6 @@ static ssize_t WritevAll(int fd, struct iovec *iov, int iovlen) {
|
||||||
ssize_t rc;
|
ssize_t rc;
|
||||||
size_t wrote;
|
size_t wrote;
|
||||||
do {
|
do {
|
||||||
TryAgain:
|
|
||||||
if ((rc = writev(fd, iov, iovlen)) != -1) {
|
if ((rc = writev(fd, iov, iovlen)) != -1) {
|
||||||
wrote = rc;
|
wrote = rc;
|
||||||
do {
|
do {
|
||||||
|
@ -502,7 +501,6 @@ static ssize_t WritevAll(int fd, struct iovec *iov, int iovlen) {
|
||||||
} while (wrote);
|
} while (wrote);
|
||||||
} else if (errno == EINTR) {
|
} else if (errno == EINTR) {
|
||||||
if (killed) return -1;
|
if (killed) return -1;
|
||||||
goto TryAgain;
|
|
||||||
} else {
|
} else {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue