mirror of
https://github.com/php/php-src.git
synced 2024-11-26 11:23:47 +08:00
Libc5-readdir_r workaround
This commit is contained in:
parent
5348058938
commit
bd616da7ca
@ -151,7 +151,7 @@ static int ps_files_cleanup_dir(const char *dirname, int maxlifetime)
|
||||
{
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user