bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Fix building readline on future OS X versions, and al


From: Chet Ramey
Subject: Re: [Bug-readline] Fix building readline on future OS X versions, and also cleanup the relevant code
Date: Mon, 27 Jan 2014 11:47:44 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/27/14 6:32 AM, Max Horn wrote:
> 
> On 25.01.2014, at 23:46, Chet Ramey <address@hidden> wrote:
> 
>> Thanks.  The new stanza will be in bash-4.3-rc2/readline-6.3-rc2.
> 
> Great! But actually, perhaps a second alteration should be put in... First, a 
> question:
> 
> So far I assumed that readline 6.x released are supposed to be backwards 
> compatible in the following sense: If a binary was linked against a readline 
> 6.x shared library, then one may later upgrade that shared library to 
> readline 6.y for y > x and the program will still run. Or, said simple: A 
> program linked against readline 6.2 should still work with readline 6.3, 
> without a need for recompilation.
> 
> Is that correct? If no, I did it wrong all the time and it's good I finally 
> learned!

Yes, that's the idea. Minor version number changes are supposed to maintain
API/ABI compatibility.  It's a bug if that assumption is violated.

> But if yes, then the currently used install_name used on Mac OS X is bad: It 
> uses the full library name libreadline.6.2.dylib, but really should be using 
> libreadline.6.dylib.

Sure, let me see your approach.

Chet
- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLmjbAACgkQu1hp8GTqdKuq9QCfeGQfKiBKMDdGc/R0fdk1XWxp
JFwAoJHMux7UOBOl7hnYsA5lOJWEjepC
=2eya
-----END PGP SIGNATURE-----



reply via email to

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