tdb_chainlock() in tdb1, tdb2 and tdb_compat ?

Rusty Russell rusty at ozlabs.org
Fri May 11 05:27:33 MDT 2012


On Thu, 10 May 2012 08:35:07 -0400, simo <idra at samba.org> wrote:
> Rusty,
> it is a big change for external users of tdb.
> Distributions ship tdb1 as a standalone library. If you force only tdb2
> and at the same time you do not rename all the symbols and force API
> changes you are putting distributions between a rock and a hard place.

No, that's what library major versions are for.

> I really think we should change API signatures so tdb1 and tdb2 (or
> whatever we want to call it) can be installed side by side for a while
> until all users decide to abandon tdb1 and we can kill it.

Of course they can be installed side by side: that's why the headers
have different names.

Cheers,
Rusty.


More information about the samba-technical mailing list