2 changed files with 2 additions and 18 deletions
@ -1,14 +0,0 @@
|
||||
--- php-4.2.3/ext/dba/dba_db3.c.orig Thu Apr 18 14:31:19 2002
|
||||
+++ php-4.2.3/ext/dba/dba_db3.c Fri Nov 22 10:30:24 2002
|
||||
@@ -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));
|
Loading…
Reference in new issue