Change SELECT! in the same way as SELECT: only ask the buffers of

ports that were passed in, not those of raw file descriptors.
This commit is contained in:
sperber 2002-11-12 14:26:02 +00:00
parent a73f146a23
commit 883117ae06
1 changed files with 2 additions and 2 deletions

View File

@ -865,8 +865,8 @@
(for-each input-port/fdes-check-unlocked read-list)
(for-each output-port/fdes-check-unlocked write-list)
(let ((any-read (any-input-ready read-list))
(any-write (any-output-ready write-list)))
(let ((any-read (any-input-ready (filter input-port? read-list)))
(any-write (any-output-ready (filter output-port? write-list))))
(if (or (pair? any-read) (pair? any-write))
(begin
((structure-ref interrupts enable-interrupts!))