|
|
@@ -41,7 +41,7 @@ Index: perl/sieve/lib/isieve.c
|
|
|
+++ perl/sieve/lib/isieve.c 2004-02-02 20:01:21.000000000 +0100
|
|
|
@@ -41,9 +41,7 @@
|
|
|
|
|
|
- /* $Id: imapd.patch,v 1.10 2004/03/28 21:30:58 thl Exp $ */
|
|
|
+ /* $Id: imapd.patch,v 1.11 2004/03/28 21:48:01 thl Exp $ */
|
|
|
|
|
|
-#ifdef HAVE_CONFIG_H
|
|
|
-#include <config.h>
|
|
|
@@ -92,3 +92,25 @@ Index: imap/mboxname.c
|
|
|
namelen = cp - name;
|
|
|
|
|
|
|
|
|
+Index: lib/cyrusdb_berkeley.c
|
|
|
+--- lib/cyrusdb_berkeley.c.orig 2004-03-11 19:36:44 +0100
|
|
|
++++ lib/cyrusdb_berkeley.c 2004-11-13 13:48:28 +0100
|
|
|
+@@ -104,7 +104,7 @@
|
|
|
+ exit(EC_TEMPFAIL);
|
|
|
+ }
|
|
|
+
|
|
|
+-static void db_err(const char *db_prfx, char *buffer)
|
|
|
++static void db_err(const DB_ENV *dbenv, const char *db_prfx, const char *buffer)
|
|
|
+ {
|
|
|
+ syslog(LOG_WARNING, "DBERROR %s: %s", db_prfx, buffer);
|
|
|
+ }
|
|
|
+@@ -143,9 +143,6 @@
|
|
|
+ dbenv->set_verbose(dbenv, DB_VERB_DEADLOCK, 1);
|
|
|
+ dbenv->set_verbose(dbenv, DB_VERB_WAITSFOR, 1);
|
|
|
+ }
|
|
|
+- if (CONFIG_DB_VERBOSE > 1) {
|
|
|
+- dbenv->set_verbose(dbenv, DB_VERB_CHKPOINT, 1);
|
|
|
+- }
|
|
|
+
|
|
|
+ dbenv->set_errcall(dbenv, db_err);
|
|
|
+ snprintf(errpfx, sizeof(errpfx), "db%d", DB_VERSION_MAJOR);
|