Libc5-readdir_r workaround

This commit is contained in:
Sascha Schumann 2000-09-11 15:24:28 +00:00
parent 5348058938
commit bd616da7ca

View File

@ -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;