Add patch files for php 5.6 installation.

This commit is contained in:
2026-03-10 23:45:13 +01:00
parent cf814e9adf
commit 4b2d7262c6
10 changed files with 136 additions and 0 deletions

11
php-5.6-reentrancy.patch Normal file
View File

@@ -0,0 +1,11 @@
--- main/reentrancy.c.bak 2026-03-03 20:45:56.822721495 +0100
+++ main/reentrancy.c 2026-03-03 20:46:22.066607624 +0100
@@ -136,7 +136,7 @@
(HPUX returns 0 on success whereas Solaris returns non-zero)
*/
entry->d_name[0] = '\0';
- readdir_r(dirp, entry);
+ readdir_r(dirp, entry, result);
if (entry->d_name[0] == '\0') {
*result = NULL;