diff options
author | Sascha Schumann <sas@php.net> | 2000-09-11 15:25:06 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-09-11 15:25:06 +0000 |
commit | 2e0ae6d25f6cc2068e1e30c641e870dab52b1721 (patch) | |
tree | 117ad5f29384f7f41c2246194d1ea230926c0c43 /acinclude.m4 | |
parent | bd616da7ca389fb7372d5a902c68fd6c76964082 (diff) | |
download | php-git-2e0ae6d25f6cc2068e1e30c641e870dab52b1721.tar.gz |
Solaris-readdir_r-wants-large-buffer fix
Libc5-readdir_r workaround
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index eab670e70d..ee88d32e66 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -53,7 +53,8 @@ AC_DEFUN(PHP_READDIR_R_TYPE,[ main() { DIR *dir; - struct dirent entry, *pentry; + char entry[sizeof(struct dirent)+257]; + struct dirent *pentry = (struct dirent *) &entry; dir = opendir("/"); if (!dir) |