wok view cyrus-imapd/stuff/p1.patch @ rev 8538

Fix: remove src and _pkg varibles in filezilla. Updated url also.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 13 04:25:50 2011 +0000 (2011-02-13)
parents
children
line source
1 diff -u lib.old/cyrusdb_berkeley.c lib/cyrusdb_berkeley.c
2 --- lib.old/cyrusdb_berkeley.c 2007-04-05 01:23:42.518845824 +0200
3 +++ lib/cyrusdb_berkeley.c 2007-04-05 01:22:20.000000000 +0200
4 @@ -159,7 +159,15 @@
5 syslog(LOG_WARNING,
6 "DBERROR: invalid berkeley_locks_max value, using internal default");
7 } else {
8 +#if DB_VERSION_MAJOR >= 4
9 + r = dbenv->set_lk_max_locks(dbenv, opt);
10 + if (!r)
11 + r = dbenv->set_lk_max_lockers(dbenv, opt);
12 + if (!r)
13 + r = dbenv->set_lk_max_objects(dbenv, opt);
14 +#else
15 r = dbenv->set_lk_max(dbenv, opt);
16 +#endif
17 if (r) {
18 dbenv->err(dbenv, r, "set_lk_max");
19 syslog(LOG_ERR, "DBERROR: set_lk_max(): %s", db_strerror(r));