From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tantalum Newsgroups: gmane.lisp.guile.devel Subject: bytevector-copy creates srfi-4 vector with greater length Date: Sun, 26 Oct 2014 15:49:26 +0100 Message-ID: <544D09F6.8060309@posteo.eu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1414357950 4541 80.91.229.3 (26 Oct 2014 21:12:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Oct 2014 21:12:30 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Oct 26 22:12:23 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XiV6s-00063j-Km for guile-devel@m.gmane.org; Sun, 26 Oct 2014 22:12:22 +0100 Original-Received: from localhost ([::1]:58390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiV6s-0008NM-6L for guile-devel@m.gmane.org; Sun, 26 Oct 2014 17:12:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiP8W-0005Pd-Cx for guile-devel@gnu.org; Sun, 26 Oct 2014 10:49:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiP8Q-0005vC-8a for guile-devel@gnu.org; Sun, 26 Oct 2014 10:49:40 -0400 Original-Received: from mx02.posteo.de ([89.146.194.165]:43915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiP8Q-0005uB-36 for guile-devel@gnu.org; Sun, 26 Oct 2014 10:49:34 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mx02.posteo.de (Postfix) with ESMTP id 09CA425ACC4C for ; Sun, 26 Oct 2014 15:49:29 +0100 (CET) X-Virus-Scanned: amavisd-new at posteo.de Original-Received: from posteo.de ([10.125.125.178]) (using TLS) by localhost (amavis1.posteo.de [10.125.125.165]) (amavisd-new, port 10026) with ESMTPS id YMufgRFJh5Oi for ; Sun, 26 Oct 2014 15:49:28 +0100 (CET) Original-Received: from mail.posteo.de (localhost [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTPSA id DA2D82C010D for ; Sun, 26 Oct 2014 15:49:27 +0100 (CET) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 89.146.194.165 X-Mailman-Approved-At: Sun, 26 Oct 2014 17:12:19 -0400 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17594 Archived-At: 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". i expected the result to have the same length as the argument and this looks like a bug to me