From: Andy Wingo <wingo@pobox.com>
To: Bruce Korb <bkorb@gnu.org>
Cc: bug-guile@gnu.org, bug-autogen@gnu.org,
Elias Pipping <pipping@lavabit.com>
Subject: Re: [Bug-autogen] test failure with guile-2.0.2
Date: Wed, 13 Jul 2011 15:41:42 +0200 [thread overview]
Message-ID: <87oc0yb8mh.fsf@pobox.com> (raw)
In-Reply-To: <4E1D95A0.60504@gnu.org> (Bruce Korb's message of "Wed, 13 Jul 2011 05:54:56 -0700")
Hi,
On Wed 13 Jul 2011 14:54, Bruce Korb <bkorb@gnu.org> 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/
next prev parent reply other threads:[~2011-07-13 13:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110710.001131.2114114687665811411.pipping@lavabit.com>
2011-07-11 13:28 ` [Bug-autogen] test failure with guile-2.0.2 Bruce Korb
[not found] ` <20110711.160906.808950167011716776.pipping@lavabit.com>
2011-07-11 17:32 ` Bruce Korb
[not found] ` <4E1AFA72.2050803@gnu.org>
2011-07-13 8:48 ` Andy Wingo
2011-07-13 12:54 ` Bruce Korb
[not found] ` <4E1D95A0.60504@gnu.org>
2011-07-13 13:41 ` Andy Wingo [this message]
2011-07-13 15:01 ` Thien-Thi Nguyen
2011-07-15 16:25 ` Thien-Thi Nguyen
2011-07-18 9:30 ` Andy Wingo
2011-07-13 15:11 ` Bruce Korb
[not found] ` <4E1DB59B.9070700@gnu.org>
2011-07-14 9:01 ` Andy Wingo
2011-07-17 20:47 ` ‘scm_from_locale_string’ and locale character encoding Ludovic Courtès
2011-07-18 16:18 ` Bruce Korb
[not found] ` <4E245CC5.4040505@gnu.org>
2011-07-19 9:35 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oc0yb8mh.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=bkorb@gnu.org \
--cc=bug-autogen@gnu.org \
--cc=bug-guile@gnu.org \
--cc=pipping@lavabit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).