mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1999-04-18 Thorsten Kukuk <kukuk@suse.de> * sunrpc/Makefile: Remove special handling of bootparam.x, add rpcsvc/bootparam.h to headers. * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility. * sunrpc/rpcsvc/bootparam.x: Renamed to... * sunrpc/rpcsvc/bootparam_prot.x: ...this.
This commit is contained in:
@ -104,7 +104,7 @@ __poll (fds, nfds, timeout)
|
||||
tv.tv_sec = timeout / 1000;
|
||||
tv.tv_usec = (timeout % 1000) * 1000;
|
||||
|
||||
do
|
||||
while (1)
|
||||
{
|
||||
ready = __select (maxfd + 1, rset, wset, xset,
|
||||
timeout == -1 ? NULL : &tv);
|
||||
@ -169,9 +169,12 @@ __poll (fds, nfds, timeout)
|
||||
else if (errno == EBADF)
|
||||
f->revents |= POLLNVAL;
|
||||
}
|
||||
/* Try again. */
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
while (ready == 0);
|
||||
|
||||
if (ready > 0)
|
||||
for (f = fds; f < &fds[nfds]; ++f)
|
||||
|
Reference in New Issue
Block a user