mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 16:21:07 +00: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
|
/* Set the user bitarrays. We only ever have to clear bits, as all desired
|
||||||
ones are initially set. */
|
ones are initially set. */
|
||||||
for (i = firstfd; i < lastfd; ++i)
|
for (i = firstfd; i <= lastfd; ++i)
|
||||||
{
|
{
|
||||||
int type = types[i];
|
int type = types[i];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user