git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2791749
)
Fix Hurd build: typoes
author
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 18 Dec 2019 09:21:12 +0000
(09:21 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 18 Dec 2019 09:21:12 +0000
(09:21 +0000)
Broken-by: 2791749f22
src/OS/os.c-GNU
patch
|
blob
|
history
diff --git
a/src/OS/os.c-GNU
b/src/OS/os.c-GNU
index 06226839b68b051b6e20d432a6a92b0428ceec92..2c63ddca85e07dd6b93e7b435e5ccdfed80a3f37 100644
(file)
--- a/
src/OS/os.c-GNU
+++ b/
src/OS/os.c-GNU
@@
-58,7
+58,7
@@
os_pipe_read(int fd, void * buf, size_t count)
{
for (int rc, retries = 10; retries > 0; retries--)
{
{
for (int rc, retries = 10; retries > 0; retries--)
{
- if ((rc = read(fd, buf, count) >= 0) break;
+ if ((rc = read(fd, buf, count)
)
>= 0) break;
if (rc != -1 || errno != EINTR) break;
}
return rc;
if (rc != -1 || errno != EINTR) break;
}
return rc;
@@
-70,7
+70,7
@@
os_pipe_write(int fd, void * buf, size_t count)
{
for (int rc, retries = 10; retries > 0; retries--)
{
{
for (int rc, retries = 10; retries > 0; retries--)
{
- if ((rc = write(fd, buf, count) >= 0) break;
+ if ((rc = write(fd, buf, count)
)
>= 0) break;
if (rc != -1 || errno != EINTR) break;
}
return rc;
if (rc != -1 || errno != EINTR) break;
}
return rc;
@@
-81,7
+81,7
@@
os_pipe_writev(int fd, const struct iovec * iov, int iovcnt
{
for (int rc, retries = 10; retries > 0; retries--)
{
{
for (int rc, retries = 10; retries > 0; retries--)
{
- if ((rc = writev(fd, iov, iovcnt) >= 0) break;
+ if ((rc = writev(fd, iov, iovcnt)
)
>= 0) break;
if (rc != -1 || errno != EINTR) break;
}
return rc;
if (rc != -1 || errno != EINTR) break;
}
return rc;