diff options
author | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2016-08-10 13:47:49 +0000 |
---|---|---|
committer | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2016-08-10 13:47:49 +0000 |
commit | 0427e138edcbbd2f77bc9aa51f2d3c88190fa6bd (patch) | |
tree | e5e99aac431d59855d99f62aa2d52ae22eeed72c | |
parent | 48b9ccd5067adf6b81a1b6bc0e22e8be3c6b3cb5 (diff) | |
download | libapr-0427e138edcbbd2f77bc9aa51f2d3c88190fa6bd.tar.gz |
Merge r1755746 from trunk:
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: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1755748 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poll/os2/pollset.c | 3 |
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 { |