diff options
author | Miles Bader <miles@gnu.org> | 1996-03-05 23:46:23 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-03-05 23:46:23 +0000 |
commit | 5ac0712ca5c66a2b6c606ae27b9ee0aebe968b2b (patch) | |
tree | daf6482b4ee3415dcdc1045fc058cc96afab36a1 /sysdeps/mach | |
parent | b49d86bd21b58f4eccd7aba4714d2a0c7cffb57f (diff) | |
download | glibc-5ac0712ca5c66a2b6c606ae27b9ee0aebe968b2b.tar.gz |
(__select): Include LASTFD in the final loop.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/select.c b/sysdeps/mach/hurd/select.c index d1702874cc..8e78adb1bc 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]; |