ladybird/Ports/php/patches/php_fopen_wrapper.c.patch

12 lines
322 B
Diff
Raw Normal View History

2021-06-03 20:59:23 -03:00
--- php-8.0.6/ext/standard/php_fopen_wrapper.c 2021-05-04 19:26:18.000000000 +0200
+++ php-8.0.6-patched/ext/standard/php_fopen_wrapper.c 2021-06-04 01:04:07.104126109 +0200
@@ -317,7 +317,7 @@
return NULL;
}
-#if HAVE_UNISTD_H
+#if !HAVE_UNISTD_H
dtablesize = getdtablesize();
#else
dtablesize = INT_MAX;