mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
(__select): Include LASTFD in the final loop.
This commit is contained in:
parent
b49d86bd21
commit
5ac0712ca5
@ -275,7 +275,7 @@ DEFUN(__select, (nfds, readfds, writefds, exceptfds, timeout),
|
||||
|
||||
/* Set the user bitarrays. We only ever have to clear bits, as all desired
|
||||
ones are initially set. */
|
||||
for (i = firstfd; i < lastfd; ++i)
|
||||
for (i = firstfd; i <= lastfd; ++i)
|
||||
{
|
||||
int type = types[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user