Skip to content

Commit 1d84bdb

Browse files
committed
Cleanup
1 parent f9fb10c commit 1d84bdb

File tree

3 files changed

+1
-27
lines changed

3 files changed

+1
-27
lines changed

.github/nightly.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,6 @@ function (): void {
123123
"",
124124
function (): void {
125125
e("php ./phpunit install");
126-
127-
// Test causes a heap-buffer-overflow but I cannot reproduce it locally...
128-
$c = file_get_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php");
129-
$c = str_replace("public function testSanitizeDeepNestedString()", "/** @group skip */\n public function testSanitizeDeepNestedString()", $c);
130-
file_put_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php", $c);
131-
// Buggy FFI test in Symfony, see https://github.com/symfony/symfony/issues/47668
132-
$c = file_get_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php");
133-
$c = str_replace("*/\n public function testCastNonTrailingCharPointer()", "* @group skip\n */\n public function testCastNonTrailingCharPointer()", $c);
134-
file_put_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php", $c);
135126
},
136127
function (): iterable {
137128
$it = new RecursiveDirectoryIterator("src/Symfony");

Zend/zend_portability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164

165165
# if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT)
166166
# define DL_LOAD(libname) dlopen(libname, PHP_RTLD_MODE | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
167-
# elif defined(RTLD_DEEPBIND) && !defined(__SANITIZE_ADDRESS__) && !__has_feature(memory_sanitizer) && defined(PHP_USE_RTLD_DEEPBIND)
167+
# elif defined(RTLD_DEEPBIND) && !defined(__SANITIZE_ADDRESS__) && !__has_feature(memory_sanitizer)
168168
# define DL_LOAD(libname) dlopen(libname, PHP_RTLD_MODE | RTLD_GLOBAL | RTLD_DEEPBIND)
169169
# else
170170
# define DL_LOAD(libname) dlopen(libname, PHP_RTLD_MODE | RTLD_GLOBAL)

configure.ac

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -868,23 +868,6 @@ AS_VAR_IF([PHP_RTLD_NOW], [yes],
868868
[Define to 1 if 'dlopen()' uses the 'RTLD_NOW' mode flag instead of
869869
'RTLD_LAZY'.])])
870870

871-
if test "$PHP_SAPI" = "apache2handler"; then
872-
PHP_RTLD_DEEPBIND_DEFAULT=yes
873-
else
874-
PHP_RTLD_DEEPBIND_DEFAULT=no
875-
fi
876-
877-
PHP_ARG_ENABLE([rtld-deepbind],
878-
[whether to dlopen extensions with RTLD_DEEPBIND],
879-
[AS_HELP_STRING([--enable-rtld-deepbind],
880-
[Use dlopen with RTLD_DEEPBIND])],
881-
[$PHP_RTLD_DEEPBIND_DEFAULT],
882-
[$PHP_RTLD_DEEPBIND_DEFAULT])
883-
884-
if test "$PHP_RTLD_DEEPBIND" = "yes"; then
885-
AC_DEFINE(PHP_USE_RTLD_DEEPBIND, 1, [ Use dlopen with RTLD_DEEPBIND ])
886-
fi
887-
888871
PHP_ARG_WITH([layout],
889872
[layout of installed files],
890873
[AS_HELP_STRING([--with-layout=TYPE],

0 commit comments

Comments
 (0)