apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@cnet.com>
Subject [PATCH] apr_dbm.c
Date Wed, 15 Aug 2001 03:25:29 GMT
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) {



Mime
View raw message