cvs: php4 /ext/session mod_files.c
| From: | Sascha Schumann | Date: | Fri, 01 Sep 2000 15:47:54 +0000 |
| Subject: | cvs: php4 /ext/session mod_files.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1490@lists.php.net to get a copy of this message | ||
sas Fri Sep 1 08:47:54 2000 EDT
Modified files:
/php4/ext/session mod_files.c
Log:
s/PATH_MAX/MAXPATHLEN/
Index: php4/ext/session/mod_files.c
diff -u php4/ext/session/mod_files.c:1.43 php4/ext/session/mod_files.c:1.44
--- php4/ext/session/mod_files.c:1.43 Fri Sep 1 02:38:18 2000
+++ php4/ext/session/mod_files.c Fri Sep 1 08:47:53 2000
@@ -151,7 +151,7 @@
static int _ps_files_cleanup_dir(const char *dirname, int maxlifetime)
{
DIR *dir;
- char dentry[sizeof(struct dirent) + PATH_MAX + 1];
+ char dentry[sizeof(struct dirent) + MAXPATHLEN + 1];
struct dirent *entry;
struct stat sbuf;
char buf[MAXPATHLEN];