mirror of
https://github.com/php/php-src.git
synced 2026-04-08 16:43:44 +02:00
Fix issue with Sun CC not detecting readdir_r
# This was once fixed in the code, but not in the configure
This commit is contained in:
@@ -57,7 +57,7 @@ AC_DEFUN(PHP_READDIR_R_TYPE,[
|
||||
|
||||
main() {
|
||||
DIR *dir;
|
||||
char entry[sizeof(struct dirent)+PATH_MAX];
|
||||
char entry[sizeof(struct dirent)+PATH_MAX+1];
|
||||
struct dirent *pentry = (struct dirent *) &entry;
|
||||
|
||||
dir = opendir("/");
|
||||
|
||||
Reference in New Issue
Block a user