Skip to Content.
Sympa Menu

shibboleth-dev - RE: Lib versions

Subject: Shibboleth Developers

List archive

RE: Lib versions


Chronological Thread 
  • From: Scott Cantor <>
  • To: 'Derek Atkins' <>
  • Cc:
  • Subject: RE: Lib versions
  • Date: Tue, 04 Mar 2003 16:06:45 -0500
  • Importance: Normal
  • Organization: The Ohio State University

> This sounds fine to me. There is a nice page in the libtool
> manual that explains the process for "versioning" libraries.
> The version info is "current:rev:age". The process is:
>
> if (any_code_changed) { rev++; age++ }
> if (added_new_apis or changed_apis or removed_apis) {
> current++; rev = 0;
> }
> if (changed_apis or removed_apis) age = 0;

I like that. Every instruction manual should be in C. ;-)

One problem of course is that library versioning was designed around C, and
not C++, which has the ABI problem. The gcc libraries
had to do something, so they chose to define each ABI as an API, but of
course then what do you do if you have 3 ABIs and 3 APIs?
;-)

Anyway, I sure know OpenSSL is doing it wrong, regardless.

-- Scott

------------------------------------------------------mace-shib-design-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at

http://archives.internet2.edu/

------------------------------------------------------mace-shib-design--




Archive powered by MHonArc 2.6.16.

Top of Page