From: Miles Bader Date: Tue, 5 Mar 1996 23:46:23 +0000 (+0000) Subject: (__select): Include LASTFD in the final loop. X-Git-Tag: upstream/2.20~22635 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ac0712ca5c66a2b6c606ae27b9ee0aebe968b2b;p=platform%2Fupstream%2Flinaro-glibc.git (__select): Include LASTFD in the final loop. --- diff --git a/sysdeps/mach/hurd/select.c b/sysdeps/mach/hurd/select.c index d170287..8e78adb 100644 --- a/sysdeps/mach/hurd/select.c +++ b/sysdeps/mach/hurd/select.c @@ -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];