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:
parent
3301b0b33d
commit
40737341a8
8 changed files with 31 additions and 39 deletions
14
Ports/php/patches/fopen-getdtablesize.patch
Normal file
14
Ports/php/patches/fopen-getdtablesize.patch
Normal 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,
|
Loading…
Add table
Add a link
Reference in a new issue