bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-autogen] test failure with guile-2.0.2


From: Andy Wingo
Subject: Re: [Bug-autogen] test failure with guile-2.0.2
Date: Wed, 13 Jul 2011 15:41:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hi,

On Wed 13 Jul 2011 14:54, Bruce Korb <address@hidden> 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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]