Change the semantics of select so that it doesn't check the underlying
port buffer for fdes arguments.
This commit is contained in:
parent
6fc80dfb4b
commit
a206e4f70a
|
@ -811,8 +811,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
|
||||
|
|
Loading…
Reference in New Issue