From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: [Bug-autogen] test failure with guile-2.0.2 Date: Wed, 13 Jul 2011 15:41:42 +0200 Message-ID: <87oc0yb8mh.fsf@pobox.com> References: <20110710.001131.2114114687665811411.pipping@lavabit.com> <4E1AFA72.2050803@gnu.org> <871uxud0s7.fsf@pobox.com> <4E1D95A0.60504@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1310564565 28248 80.91.229.12 (13 Jul 2011 13:42:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 13:42:45 +0000 (UTC) Cc: bug-guile@gnu.org, bug-autogen@gnu.org, Elias Pipping To: Bruce Korb Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Jul 13 15:42:40 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qgzi1-0003kD-0S for guile-bugs@m.gmane.org; Wed, 13 Jul 2011 15:42:37 +0200 Original-Received: from localhost ([::1]:60489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgzi0-0007rd-3O for guile-bugs@m.gmane.org; Wed, 13 Jul 2011 09:42:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgzhY-0007qT-3P for bug-guile@gnu.org; Wed, 13 Jul 2011 09:42:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgzhT-0004gX-PR for bug-guile@gnu.org; Wed, 13 Jul 2011 09:42:07 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:36636 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgzhE-0004dU-Oz; Wed, 13 Jul 2011 09:41:48 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 26C1C53B7; Wed, 13 Jul 2011 09:41:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=tdW0qGzEazCDHAoa8siE4jmjnvU=; b=haG1q5 C4whywRe6OBKhyLxEMV71CWThI6AoBqin3OhJce3aemSwZGZi9H8zty8BlPGUW7/ pTJQijAkXH2v7PTANIYJ9y0xQYgIH6HIYHM90q6UNDQYORb2yxZxrHzWP4XzLNEj IyNpPSVF0akHwVzhpfYKkFJK8rK57QljGEltw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=gRCmuRE4ia7WsKlE1NtltVCdmm3TRb02 UKQMfWlbi4w7mikGiTDr2jM05o7vlTAi9BUBKTgpv3Sv+zdNeMhT9cLRFIT0n/jK DGz9AO5od0D5HOw/3vqqkEsC04SXa9EYjIOXqdsz0IEe6X0sCfNWgm+jjp9q+uIb DbHPmBGBsVw= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1DC3553B6; Wed, 13 Jul 2011 09:41:47 -0400 (EDT) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 5C91953B2; Wed, 13 Jul 2011 09:41:46 -0400 (EDT) In-Reply-To: <4E1D95A0.60504@gnu.org> (Bruce Korb's message of "Wed, 13 Jul 2011 05:54:56 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: DA2C9088-AD55-11E0-AE4E-B086C023C68D-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5727 Archived-At: Hi, On Wed 13 Jul 2011 14:54, Bruce Korb writes: > This means that *THE SEMANTICS HAVE CHANGED* for these functions. > New semantics should always imply a new interface name. > This is a new interface. No need to shout, thank you. I agree with you. However in this case we are covered: the new interface name is libguile-2.0.so. You happened to run into this issue because of a change in how scm_{from,to}_locale_string determines what the locale encoding is. But you could have run into it in one of many other ways. In fact, for Guile 2.0, the interface changed to *match* the name. > I want byte array functions where Guile isn't thinking that it knows > better than I do what bit values ought to be in each byte. Use a bytevector, then. A string is logically an array of characters, not bytes. I realize that this is irritating to you, but it is the right thing, improves the situation for loads of users, and is largely compatible. But if what you really want is to continue using strings as bytevectors, you will have to make a small #define, and then be on your way. Regards, Andy -- http://wingolog.org/