cvs: php4 /ext/session mod_files.c
| From: | Sascha Schumann | Date: | Mon, 11 Sep 2000 15:24:28 +0000 |
| Subject: | cvs: php4 /ext/session mod_files.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1705@lists.php.net to get a copy of this message | ||
sas Mon Sep 11 08:24:28 2000 EDT
Modified files:
/php4/ext/session mod_files.c
Log:
Libc5-readdir_r workaround
Index: php4/ext/session/mod_files.c
diff -u php4/ext/session/mod_files.c:1.46 php4/ext/session/mod_files.c:1.47
--- php4/ext/session/mod_files.c:1.46 Wed Sep 6 07:16:12 2000
+++ php4/ext/session/mod_files.c Mon Sep 11 08:24:28 2000
@@ -151,7 +151,7 @@
{
DIR *dir;
char dentry[sizeof(struct dirent) + MAXPATHLEN + 1];
- struct dirent *entry;
+ struct dirent *entry = (struct dirent *) &dentry;
struct stat sbuf;
char buf[MAXPATHLEN];
time_t now;