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

BerkeleyDB 4.1 compatibility (ITS#2192)



Full_Name: Stanislav Sinyagin
Version: 2.0.27
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.162.161.17)


Hi, 

I've just compiled openldap-2.0.27 with db-4.1.24.

In ldbm.c, the number of arguments in db_open is wrong.
With these changes it works OK:

Line 239 in libraries/libldbm/ldbm.c:
Old:
      err = ret->open( ret, name, NULL, DB_TYPE, rw, mode);
New:
      err = ret->open( ret, NULL, name, NULL, DB_TYPE, rw, mode);

With regards, 
Stanislav