php-5.3.3-macropen
authorDebian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Sat, 2 May 2015 08:26:55 +0000 (10:26 +0200)
committerOndřej Surý <ondrej@debian.org>
Mon, 2 Dec 2024 07:33:26 +0000 (08:33 +0100)
Gbp-Pq: Name 0017-php-5.3.3-macropen.patch

ext/dba/dba.c
ext/dba/dba_db3.c
ext/dba/dba_db4.c

index 64f8b5be5c01b5478570ac6053860267ce0107bf..d28b8f5ca4099d437d0da29631c13b6d1debc000 100644 (file)
@@ -858,7 +858,7 @@ restart:
                }
        }
 
-       if (error || hptr->open(info, &error) == FAILURE) {
+       if (error || (hptr->open)(info, &error) == FAILURE) {
                dba_close(info);
                if (EXPECTED(!EG(exception))) {
                        if (error) {
index d9e948a623f5098439311a8628325e55704924c3..11610da0aec119832af570ab506750e41dfdb7ef 100644 (file)
@@ -81,9 +81,9 @@ DBA_OPEN_FUNC(db3)
            dbp->set_errcall(dbp, php_dba_db3_errcall_fcn);
                if(
 #if (DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1))
-                       (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
+                       (err=(dbp->open)(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
 #else
-                       (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
+                       (err=(dbp->open)(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
 #endif
                        dba_db3_data *data;
 
index 3de66a4274432d768f7ed2de1349ecc4b4867c7c..c088cc70b60c59c8993fcdf68ff7b76a5403fa4d 100644 (file)
@@ -110,9 +110,9 @@ DBA_OPEN_FUNC(db4)
            dbp->set_errcall(dbp, php_dba_db4_errcall_fcn);
            if (
 #if (DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1))
-                       (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
+                       (err=(dbp->open)(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
 #else
-                       (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
+                       (err=(dbp->open)(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
 #endif
                        dba_db4_data *data;