From: Ulrich Drepper Date: Thu, 18 Oct 2007 22:23:57 +0000 (+0000) Subject: (clntudp_call): Don't block in recvfrom call even if the poll result indicates there... X-Git-Tag: upstream/2.30~14534 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e9f348f41c70f05cef52d75be16735d0182d429;p=external%2Fglibc.git (clntudp_call): Don't block in recvfrom call even if the poll result indicates there is data to read. --- diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index 8c24677..70ee0ea 100644 --- a/sunrpc/clnt_udp.c +++ b/sunrpc/clnt_udp.c @@ -413,7 +413,7 @@ send_again: { fromlen = sizeof (struct sockaddr); inlen = __recvfrom (cu->cu_sock, cu->cu_inbuf, - (int) cu->cu_recvsz, 0, + (int) cu->cu_recvsz, MSG_DONTWAIT, (struct sockaddr *) &from, &fromlen); } while (inlen < 0 && errno == EINTR);