mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-27 02:18:21 +00:00
Do not use deprecated readdir_r(), man pages tells us to fall back to readdir()
This commit is contained in:
parent
90b9d5c12c
commit
e43747f36c
@ -131,7 +131,7 @@ char *first_file_in_directory (const char *path)
|
|||||||
{
|
{
|
||||||
char *first_file = NULL;
|
char *first_file = NULL;
|
||||||
|
|
||||||
#if defined (_POSIX)
|
#if 0
|
||||||
|
|
||||||
struct dirent e;
|
struct dirent e;
|
||||||
|
|
||||||
@ -194,7 +194,7 @@ char **scan_directory (const char *path)
|
|||||||
|
|
||||||
if ((d = opendir (tmp_path)) != NULL)
|
if ((d = opendir (tmp_path)) != NULL)
|
||||||
{
|
{
|
||||||
#if defined (_POSIX)
|
#if 0
|
||||||
|
|
||||||
struct dirent e;
|
struct dirent e;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user