ID:               20564
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Any
 PHP Version:      4.2.3
-Assigned To:      
+Assigned To:      helly
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

I will make a db4 module and try to check the versions in all BerkleyDB
modules.


Previous Comments:
------------------------------------------------------------------------

[2002-11-22 03:34:57] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=20564&edit=1

Reply via email to