helly           Sat Nov 23 16:12:09 2002 EDT

  Modified files:              (Branch: PHP_4_2_0)
    /php4/ext/dba       dba_db3.c 
  Log:
  MFH
  
  
Index: php4/ext/dba/dba_db3.c
diff -u php4/ext/dba/dba_db3.c:1.16.2.1 php4/ext/dba/dba_db3.c:1.16.2.2
--- php4/ext/dba/dba_db3.c:1.16.2.1     Thu Apr 18 08:31:19 2002
+++ php4/ext/dba/dba_db3.c      Sat Nov 23 16:12:08 2002
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: dba_db3.c,v 1.16.2.1 2002/04/18 12:31:19 derick Exp $ */
+/* $Id: dba_db3.c,v 1.16.2.2 2002/11/23 21:12:08 helly Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -74,7 +74,11 @@
        }
 
        if (db_create(&dbp, NULL, 0) == 0 &&
+#if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
+                       dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode) == 
+0) {
+#else
                        dbp->open(dbp, info->path, NULL, type, gmode, filemode) == 0) {
+#endif
                dba_db3_data *data;
 
                data = malloc(sizeof(*data));



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to