(__select): Include LASTFD in the final loop.

This commit is contained in:
Miles Bader 1996-03-05 23:46:23 +00:00
parent b49d86bd21
commit 5ac0712ca5

View File

@ -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];