mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
Update.
1998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and POLLNVAL.
This commit is contained in:
parent
bb41a976a3
commit
f1317ef509
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user