cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: New push punctions

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Mon, 20 Jul 2015 16:44:48 +0200

 
Cristian Morales Vega wrote:
>> Since there are 2 new functions, should'nt the SONAME be bumped ?

> No. Programs using an old libcurl version will continue working with
the latest version... so the soname stays the same.
> If libcurl would use symbol versioning the way glibc does,
curl_multi_setopt would get a new version, but that's it.

I do not agree:

Rule no 2 applies (lib/Makefile.am, line 96: if interfaces were added
use C+1:0:A+1). So version info should be set as:

if SONAME_BUMP
VERSIONINFO=-version-info 9:0:4
else
VERSIONINFO=-version-info 8:0:4
Endif

This won't change the final SONAME on platforms which support what you
described, because they use C-A for SONAME. But others (i.e.: iSeries)
will bump (they use C alone).

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-20