From 5ac0712ca5c66a2b6c606ae27b9ee0aebe968b2b Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 5 Mar 1996 23:46:23 +0000 Subject: [PATCH] (__select): Include LASTFD in the final loop. --- sysdeps/mach/hurd/select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.7.4