Do not use deprecated readdir_r(), man pages tells us to fall back to readdir()

This commit is contained in:
jsteube
2016-11-21 10:55:25 +01:00
parent 90b9d5c12c
commit e43747f36c
+2 -2
View File
@@ -131,7 +131,7 @@ char *first_file_in_directory (const char *path)
{
char *first_file = NULL;
#if defined (_POSIX)
#if 0
struct dirent e;
@@ -194,7 +194,7 @@ char **scan_directory (const char *path)
if ((d = opendir (tmp_path)) != NULL)
{
#if defined (_POSIX)
#if 0
struct dirent e;