Greetings everyone. Trying to compile Haka, I faced this:

glibc-2.24 (released Aug 5, 2016) has deprecated readdir_r and readdir64_r in favor of plain readdir and readdir64. The reasons are discussed on the updated manpage(3) and can be found on lwn as well.
From libc manual:
In POSIX.1-2008, readdir is not thread-safe. In the GNU C Library implementation, it is safe to call readdir concurrently on different dirstreams, but multiple threads accessing the same dirstream result in undefined behavior. readdir_r is a fully thread-safe alternative, but suffers from poor portability (see below). It is recommended that you use readdir, with external locking if multiple threads access the same dirstream.
Greetings everyone. Trying to compile Haka, I faced this:
glibc-2.24 (released Aug 5, 2016) has deprecated
readdir_randreaddir64_rin favor of plainreaddirandreaddir64. The reasons are discussed on the updated manpage(3) and can be found on lwn as well.From libc manual: