cvs: php4 / acinclude.m4
| From: | Sascha Schumann | Date: | Wed, 11 Oct 2000 14:35:45 +0000 |
| Subject: | cvs: php4 / acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1989@lists.php.net to get a copy of this message | ||
sas Wed Oct 11 07:35:45 2000 EDT
Modified files:
/php4 acinclude.m4
Log:
Fix the readdir_r POSIX check
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.106 php4/acinclude.m4:1.107
--- php4/acinclude.m4:1.106 Tue Sep 26 04:19:38 2000
+++ php4/acinclude.m4 Wed Oct 11 07:35:45 2000
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.106 2000/09/26 11:19:38 sas Exp $
+dnl $Id: acinclude.m4,v 1.107 2000/10/11 14:35:45 sas Exp $
dnl
dnl This file contains local autoconf functions.
@@ -59,7 +59,7 @@
dir = opendir("/");
if (!dir)
exit(1);
- if (readdir_r(dir, &entry, &pentry) == 0)
+ if (readdir_r(dir, (struct dirent *) entry, &pentry) == 0)
exit(0);
exit(1);
}