* filesys.c (set_element): Return file descriptor.
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Mon, 8 Dec 1997 18:15:44 +0000 (18:15 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Mon, 8 Dec 1997 18:15:44 +0000 (18:15 +0000)
commitcafc12ffdd7b55c825781b0e471acd0fd28adf3f
tree28df68bd892c8e4eb74705ab722b8b34c6b7c611
parent341eaef04b87c0c1d60dd26a22dff7ad4f67784b
* filesys.c (set_element): Return file descriptor.
(fill_select_type): Return the highest file descriptor.
(scm_select): Tell select about the highest file descriptor.  On
some systems the SELECT_SET_SIZE can be as much as 128 bytes.
Therefore the extra overhead for calculating the maximum fd seems
to be more than compensated.  Is this correct?  In any case,
scm_internal_select will be much faster with this info.
(scm_select, fill_select_type, set_element): Don't accept any kind
of object in the file descriptor list or vector.
libguile/ChangeLog
libguile/filesys.c
libguile/iselect.c