]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- allow compile with db, not db3.
authorcieciwa <cieciwa@pld-linux.org>
Thu, 31 Oct 2002 13:59:17 +0000 (13:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postfix-db.patch -> 1.1

postfix-db.patch [new file with mode: 0644]

diff --git a/postfix-db.patch b/postfix-db.patch
new file mode 100644 (file)
index 0000000..0df44d3
--- /dev/null
@@ -0,0 +1,11 @@
+--- postfix-1.1.11/src/util/dict_db.c.org      Thu Oct 31 14:39:28 2002
++++ postfix-1.1.11/src/util/dict_db.c  Thu Oct 31 14:38:52 2002
+@@ -520,7 +520,7 @@
+       msg_fatal("set DB cache size %d: %m", DICT_DB_CACHE_SIZE);
+     if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
+       msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
+-    if ((errno = db->open(db, db_path, 0, type, db_flags, 0644)) != 0)
++    if ((errno = db->open(db, NULL, db_path, 0, type, db_flags, 0644)) != 0)
+       msg_fatal("open database %s: %m", db_path);
+     if ((errno = db->fd(db, &dbfd)) != 0)
+       msg_fatal("get database file descriptor: %m");
This page took 0.038012 seconds and 4 git commands to generate.