[Date Prev][Date Next] [Chronological] [Thread] [Top]

AW: compiling openldap2.0.11 with BerkeleyDB 3.3.11



Good thing!

Hmm, seems for me better to use the wrappers than
NULL values in case the db wants full control over the
memory management.

Ciao!
Matthias


> -----Ursprüngliche Nachricht-----
> Von:	Konstantin Chuguev [SMTP:Konstantin.Chuguev@dante.org.uk]
> Gesendet am:	Freitag, 31. August 2001 11:51
> An:	Wald, Matthias
> Cc:	OpenLdap Develop Mailing List (E-Mail)
> Betreff:	Re: compiling openldap2.0.11 with BerkeleyDB 3.3.11
> 
> Hi Matthias,
> 
> A patch similar to the attached one has already been applied to the
> main CVS branch.
> 
> Regards,
>     Konstantin.
> 
> "Wald, Matthias" wrote:
> 
> > I compiled 2.0.11 with db-3.3.11 (Windows). For this
> > to work the file ldbm.c has to be patched a littlebit.
> >
> > >From BerkeleyDB version 3.2.9 to 3.3.11 they changed
> > the db->set_malloc function to db->set_alloc.
> > db->set_alloc now has 4 parameters with user supplied
> > functions for realloc and free. So I added these little
> > wrappers:
> >
> > everything works fine for me until now.
> >
> > Will this be integrated? Who does it and includes some version
> > checking with macros?
> >
> 
> --
>          * *       Konstantin Chuguev           Francis House
>       *      *     Application Engineer         112 Hills Road
>     *              Tel: +44 1223 302992         Cambridge CB2 1PQ
> D  A  N  T  E      WWW: http://www.dante.net    United Kingdom
> 
>  << Datei: patch-db3_3 >>