Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 19 Nov 1998 12:52:22 +0000 (12:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 19 Nov 1998 12:52:22 +0000 (12:52 +0000)
1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
POLLNVAL.

ChangeLog
sunrpc/svc_unix.c

index 7f76f69..393d726 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
+
+       * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
+       POLLNVAL.
+
 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
 
        * Makeconfig: Add comment to all-subdirs definition.
index 4fba428..0aa3436 100644 (file)
@@ -378,6 +378,9 @@ readunix (char *xprtptr, char *buf, int len)
        case 0:
          goto fatal_err;
        default:
+         if ((pollfd.revents & POLLERR) || (pollfd.revents & POLLHUP)
+             || (pollfd.revents & POLLNVAL))
+           goto fatal_err;
          break;
        }
     }