mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-07 05:06:37 +02:00
Fixing bug in write-bytevector thanks to okuoku.
This commit is contained in:
parent
2caa285a63
commit
d82490a8e2
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
|||
(bytevector-u8-set! vec (+ i start) (bytevector-u8-ref res i))))))))
|
||||
|
||||
(define (write-bytevector vec . o)
|
||||
(apply write-string (utf8->string vec) o))
|
||||
(apply write-string (utf8->string vec) (bytevector-length vec) o))
|
||||
|
||||
(define (write-partial-bytevector vec start end . o)
|
||||
(apply write-string (utf8->string (bytevector-copy-partial vec start end)) o))
|
||||
|
|
Loading…
Add table
Reference in a new issue