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>
Fri, 9 Jun 2023 19:37:27 +0000 (21:37 +0200)
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 9e9d700cd1f6493e2caf94d7128df02e4bab811f..a9f99c958e4094aabb1780a9691b5bced932ef7e 100644 (file)
@@ -851,7 +851,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;