cvs: php4 / acinclude.m4
| From: | Jani Taskinen | Date: | Sun, 15 Oct 2000 00:58:29 +0000 |
| Subject: | cvs: php4 / acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2057@lists.php.net to get a copy of this message | ||
sniper Sat Oct 14 17:58:29 2000 EDT
Modified files:
/php4 acinclude.m4
Log:
Fix the fix as Sascha suggested.
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.109 php4/acinclude.m4:1.110
--- php4/acinclude.m4:1.109 Sat Oct 14 15:13:18 2000
+++ php4/acinclude.m4 Sat Oct 14 17:58:29 2000
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.109 2000/10/14 22:13:18 sniper Exp $
+dnl $Id: acinclude.m4,v 1.110 2000/10/15 00:58:29 sniper Exp $
dnl
dnl This file contains local autoconf functions.
@@ -51,9 +51,13 @@
#include <sys/types.h>
#include <dirent.h>
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
main() {
DIR *dir;
- char entry[sizeof(struct dirent)+300];
+ char entry[sizeof(struct dirent)+PATH_MAX];
struct dirent *pentry = (struct dirent *) &entry;
dir = opendir("/");