1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:37:35 +00:00

Ports: Update php port to version 8.1.1

This commit is contained in:
Jelle Raaijmakers 2022-01-08 00:12:31 +01:00 committed by Linus Groh
parent 3301b0b33d
commit 40737341a8
8 changed files with 31 additions and 39 deletions

View file

@ -0,0 +1,14 @@
--- php-8.1.1/ext/standard/php_fopen_wrapper.c 2021-12-15 03:00:45.000000000 +0100
+++ php-8.1.1-patched/ext/standard/php_fopen_wrapper.c 2022-01-07 23:45:58.357132436 +0100
@@ -317,11 +317,7 @@
return NULL;
}
-#if HAVE_UNISTD_H
- dtablesize = getdtablesize();
-#else
dtablesize = INT_MAX;
-#endif
if (fildes_ori < 0 || fildes_ori >= dtablesize) {
php_stream_wrapper_log_error(wrapper, options,