projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
938baf9
)
Fix bug in calling select(2): its first argument is one greater than
author
Taylor R. Campbell
<net/mumble/campbell>
Sun, 29 Oct 2006 16:43:38 +0000
(16:43 +0000)
committer
Taylor R. Campbell
<net/mumble/campbell>
Sun, 29 Oct 2006 16:43:38 +0000
(16:43 +0000)
the highest file descriptor involved, _not_ the number of file
descriptors involved.
v7/src/microcode/uxio.c
patch
|
blob
|
history
diff --git
a/v7/src/microcode/uxio.c
b/v7/src/microcode/uxio.c
index c6846872531e3609dcebe84a08abb65b992dde28..46c39eb55b7911e282c6a6a1c8c1a0b403c17b28 100644
(file)
--- a/
v7/src/microcode/uxio.c
+++ b/
v7/src/microcode/uxio.c
@@
-1,6
+1,6
@@
/* -*-C-*-
-$Id: uxio.c,v 1.5
3 2005/07/24 05:06:40 cp
h Exp $
+$Id: uxio.c,v 1.5
4 2006/10/29 16:43:38 riastrad
h Exp $
Copyright 1990,1991,1992,1993,1994,1995 Massachusetts Institute of Technology
Copyright 1996,1997,1998,2000,2001,2003 Massachusetts Institute of Technology
@@
-705,7
+705,7
@@
DEFUN (OS_test_select_descriptor, (fd, blockp, mode),
(nfds,
((OS_process_any_status_change ())
? ((errno = EINTR), (-1))
- : (UX_select (
1
,
+ : (UX_select (
(fd + 1)
,
(&readable),
(&writeable),
0,