summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2016-08-10 13:45:13 +0000
committerYann Ylavic <ylavic@apache.org>2016-08-10 13:45:13 +0000
commite95483afc69126459ec92c3ab6f2913046f21586 (patch)
tree84ab95f854134526b9218cfcd4bcbc2966fed16e /poll
parent42d24612f7bcce7820ceb77a23f19a7d8b7e60d8 (diff)
downloadapr-e95483afc69126459ec92c3ab6f2913046f21586.tar.gz
apr_pollset_poll(): OS/2: follow up to r1755740.
The UNIX socket is SOCK_DGRAM, so draining the pipe is another read().. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1755746 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r--poll/os2/pollset.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/poll/os2/pollset.c b/poll/os2/pollset.c
index 3fe2d3eb4..2ec848105 100644
--- a/poll/os2/pollset.c
+++ b/poll/os2/pollset.c
@@ -275,9 +275,6 @@ APR_DECLARE(apr_status_t) apr_pollset_poll(apr_pollset_t *pollset,
}
/* Woken up, drain the pipe still. */
rc = APR_EINTR;
- if (buflen < sizeof(buf)) {
- break;
- }
}
}
else {