bug#18866: bytevector-copy creates srfi-4 vector with greater length

2014-11-11 Thread Mark H Weaver
tantalum writes: > with guile version 2.1.0.89-c5ea7 on an x86_64 GNU/Linux system > and the following code > (use-modules (srfi srfi-4) (rnrs bytevectors)) > (define a (make-f32vector 2 0)) > (define b (bytevector-copy a)) > (write (list a b)) > > "b" turns out to be an f32vector with le

bug#18866: bytevector-copy creates srfi-4 vector with greater length

2014-10-28 Thread tantalum
with guile version 2.1.0.89-c5ea7 on an x86_64 GNU/Linux system and the following code (use-modules (srfi srfi-4) (rnrs bytevectors)) (define a (make-f32vector 2 0)) (define b (bytevector-copy a)) (write (list a b)) "b" turns out to be an f32vector with length 8, 4 times the length of "a".