mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +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:
parent
816f1f7903
commit
d949733c70
1 changed files with 1 additions and 1 deletions
|
@ -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("/");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue