mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix suspendable implementation of 'get-bytevector-some!'
* module/ice-9/suspendable-ports.scm (get-bytevector-some!): Fix incorrect arguments to bytevector-copy!
This commit is contained in:
parent
bc50aff6f8
commit
f591ad28f1
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@
|
|||
the-eof-object)
|
||||
(let ((transfer-size (min count buffered)))
|
||||
(bytevector-copy! (port-buffer-bytevector buf) cur
|
||||
transfer-size start buffered)
|
||||
bv start transfer-size)
|
||||
(set-port-buffer-cur! buf (+ cur transfer-size))
|
||||
transfer-size))))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue