mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Solaris-readdir_r-wants-large-buffer fix
Libc5-readdir_r workaround
This commit is contained in:
parent
bd616da7ca
commit
2e0ae6d25f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user