You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ian Holsman <ia...@cnet.com> on 2001/08/15 05:25:29 UTC

[PATCH] apr_dbm.c

Berkley DB 2.77 requires this extra parameter.
--also is there a way to specify which DBM directory to include
(a --with-berkleyDB=.<balh>.)
..Ian
Index: apr_dbm.c
===================================================================
RCS file: /home/cvspublic/apr-util/dbm/apr_dbm.c,v
retrieving revision 1.26
diff -u -r1.26 apr_dbm.c
--- apr_dbm.c   2001/05/21 19:14:39     1.26
+++ apr_dbm.c   2001/08/15 03:18:49
@@ -229,7 +229,7 @@
     dberr = (*f->bdb->seq)(f->bdb, pkey, &data, R_FIRST);
 #else
     if ((dberr = (*f->bdb->cursor)(f->bdb, NULL, &f->curs
-#if DB_VER == 3
+#if DB_VER == 3 || DB_VER == 2
                                    , 0
 #endif
                                    )) == 0) {