From: [EMAIL PROTECTED]
Operating system: Any
PHP version: 4.2.3
PHP Bug Type: Compile Failure
Bug description: ext/dba/dba_db3.c requires patch to build against DB 4.1.24
ext/dba/dba_db3.c builds fine against DB 4.0.x, but
requires a little patch to build against DB 4.1.X:
--- 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));
--
Edit bug report at http://bugs.php.net/?id=20564&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20564&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20564&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20564&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20564&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20564&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20564&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20564&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20564&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20564&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20564&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20564&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20564&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20564&r=isapi