>>>>> "RT" == RT Happe <rthappe@web.de> writes:
RT> On Tue, 7 Jan 2003, Martin Gasbichler wrote:
RT> By the way, the implementation of R-S!/P in scsh/rw.scm (0.6.3 beta) looks
RT> suspect to me. It basically calls READ-BLOCK with COUNT :=
>> Hmm, I think I mixed up non-blocking with non-buffering.
RT> The important issue is that the buffer size doesn't determine whether the
RT> port can satisfy the request from the buffer. The port-index or
RT> fill-pointer of the buffer does.
The code wasn't there to test whether there is something in
the buffer or not but to guess whether the port's policy is
bufpol/none.
--
Martin
|