From e98157585185baba76f79a0bacbcf0bd842bec01 Mon Sep 17 00:00:00 2001 From: Debian PHP Maintainers Date: Sat, 2 May 2015 10:26:55 +0200 Subject: [PATCH] php-5.3.3-macropen Gbp-Pq: Name 0016-php-5.3.3-macropen.patch --- ext/dba/dba.c | 2 +- ext/dba/dba_db3.c | 4 ++-- ext/dba/dba_db4.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/dba/dba.c b/ext/dba/dba.c index 7982e425..c4b988c6 100644 --- a/ext/dba/dba.c +++ b/ext/dba/dba.c @@ -917,7 +917,7 @@ restart: } } - if (error || hptr->open(connection->info, &error) == FAILURE) { + if (error || (hptr->open)(connection->info, &error) == FAILURE) { if (EXPECTED(!EG(exception))) { if (error) { php_error_docref(NULL, E_WARNING, "Driver initialization failed for handler: %s: %s", hptr->name, error); diff --git a/ext/dba/dba_db3.c b/ext/dba/dba_db3.c index 8efc8d45..a59121eb 100644 --- a/ext/dba/dba_db3.c +++ b/ext/dba/dba_db3.c @@ -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, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { + (err=(dbp->open)(dbp, 0, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { #else - (err=dbp->open(dbp, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { + (err=(dbp->open)(dbp, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { #endif dba_db3_data *data; diff --git a/ext/dba/dba_db4.c b/ext/dba/dba_db4.c index f64db554..5798fb10 100644 --- a/ext/dba/dba_db4.c +++ b/ext/dba/dba_db4.c @@ -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, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { + (err=(dbp->open)(dbp, 0, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { #else - (err=dbp->open(dbp, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { + (err=(dbp->open)(dbp, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { #endif dba_db4_data *data; -- 2.30.2