From: Kurt Zeilenga Date: Mon, 24 May 1999 23:39:21 +0000 (+0000) Subject: Update CHANGES in preparation for release. X-Git-Tag: OPENLDAP_REL_ENG_1_2_2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ac8b4413fdbba8e5e11d2a2d740b1a6b86f05c7;p=thirdparty%2Fopenldap.git Update CHANGES in preparation for release. --- diff --git a/CHANGES b/CHANGES index a599e72740..21fda118fd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,17 @@ OpenLDAP Change Log +Changes included in OpenLDAP 1.2 Release Engineering + CVS Tag: OPENLDAP_REL_ENG_1_2_1 + Fixed ud cp == NULL bug + Fixed ldbm Berkeley DB 2.4 mp_pool init problem + Fixed slapd modrdn + Fixed slapd command line usage and log level option + Fixed slurpd ldap_pvt_thread_create argument typo + Added modrdn test. + Build environment + Mixed 'make veryclean' doc directory problem + Fixed strdup declaration issues + Changes included in OpenLDAP 1.2.1 CVS Tag: OPENLDAP_REL_ENG_1_2_1 Updated ctype and string generic headers diff --git a/libraries/libldbm/ldbm.c b/libraries/libldbm/ldbm.c index 2dd71f6831..a953dd4af2 100644 --- a/libraries/libldbm/ldbm.c +++ b/libraries/libldbm/ldbm.c @@ -142,11 +142,16 @@ ldbm_open( char *name, int rw, int mode, int dbcachesize ) dbinfo.db_pagesize = DEFAULT_DB_PAGE_SIZE; dbinfo.db_malloc = ldbm_malloc; +#if defined( DB_VERSION_MAJOR ) && defined( DB_VERSION_MINOR ) \ + && DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR != 4 + if( ldbm_Env.mp_info == NULL ) { /* set a cachesize if we aren't using a memory pool */ dbinfo.db_cachesize = dbcachesize; } +#endif + LDBM_LOCK; (void) db_open( name, DB_TYPE, rw, mode, &ldbm_Env, &dbinfo, &ret ); LDBM_UNLOCK;