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:
Stanislav Malyshev 2000-11-02 16:50:40 +00:00
parent 816f1f7903
commit d949733c70

View file

@ -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("/");