From 14bea96326c5e8ff6505e60e26cb33f788e60984 Mon Sep 17 00:00:00 2001 From: NathanFreeman <1056159381@qq.com> Date: Sat, 8 Jun 2024 09:15:28 +0800 Subject: [PATCH] fix config.m4 --- config.m4 | 16 ++++++++++++---- tests/swoole_runtime/file_hook/bug_4327.phpt | 1 + 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/config.m4 b/config.m4 index ad8f55ac22c..2c3dd5d3625 100644 --- a/config.m4 +++ b/config.m4 @@ -1061,7 +1061,9 @@ EOF thirdparty/php80/pdo_pgsql/pgsql_driver.c \ thirdparty/php80/pdo_pgsql/pgsql_statement.c \ thirdparty/php81/pdo_pgsql/pgsql_driver.c \ - thirdparty/php81/pdo_pgsql/pgsql_statement.c" + thirdparty/php81/pdo_pgsql/pgsql_statement.c \ + thirdparty/php83/pdo_pgsql/pgsql_driver.c \ + thirdparty/php83/pdo_pgsql/pgsql_statement.c" fi if test "$PHP_SWOOLE_ORACLE" != "no"; then @@ -1069,7 +1071,9 @@ EOF thirdparty/php80/pdo_oci/oci_driver.c \ thirdparty/php80/pdo_oci/oci_statement.c \ thirdparty/php81/pdo_oci/oci_driver.c \ - thirdparty/php81/pdo_oci/oci_statement.c" + thirdparty/php81/pdo_oci/oci_statement.c \ + thirdparty/php83/pdo_oci/oci_driver.c \ + thirdparty/php83/pdo_oci/oci_statement.c" fi if test "$PHP_SWOOLE_ODBC" != "no"; then @@ -1077,7 +1081,9 @@ EOF thirdparty/php80/pdo_odbc/odbc_driver.c \ thirdparty/php80/pdo_odbc/odbc_stmt.c \ thirdparty/php81/pdo_odbc/odbc_driver.c \ - thirdparty/php81/pdo_odbc/odbc_stmt.c" + thirdparty/php81/pdo_odbc/odbc_stmt.c \ + thirdparty/php83/pdo_odbc/odbc_driver.c \ + thirdparty/php83/pdo_odbc/odbc_stmt.c" fi if test "$PHP_SWOOLE_SQLITE" != "no"; then @@ -1242,21 +1248,23 @@ EOF PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/sockets) PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/standard) PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php/curl) - PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php83/Zend) if test "$PHP_NGHTTP2_DIR" = "no"; then PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/nghttp2) fi if test "$PHP_SWOOLE_PGSQL" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php80/pdo_pgsql) PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php81/pdo_pgsql) + PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php83/pdo_pgsql) fi if test "$PHP_SWOOLE_ODBC" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php80/pdo_odbc) PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php81/pdo_odbc) + PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php83/pdo_odbc) fi if test "$PHP_SWOOLE_ORACLE" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php80/pdo_oci) PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php81/pdo_oci) + PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php83/pdo_oci) fi if test "$PHP_SWOOLE_SQLITE" != "no"; then PHP_ADD_BUILD_DIR($ext_builddir/thirdparty/php80/pdo_sqlite) diff --git a/tests/swoole_runtime/file_hook/bug_4327.phpt b/tests/swoole_runtime/file_hook/bug_4327.phpt index d19e6efc9cd..ca200abb0d0 100644 --- a/tests/swoole_runtime/file_hook/bug_4327.phpt +++ b/tests/swoole_runtime/file_hook/bug_4327.phpt @@ -46,6 +46,7 @@ run(function () { if (defined('SWOOLE_THREAD')) { echo "SUCCESS".PHP_EOL; + echo "SUCCESS".PHP_EOL; } else { Swoole\Runtime::enableCoroutine(false); createDirectories();