Lightweight, portable and easy to integrate C directory and file reader
Fixes buffer overflows with long path names. All users should upgrade as soon as possible.
Thanks to @0xdea for reporting
tinydir_file_open
#66PATH_MAX
macro in Debian GNU/Hurd 9Thanks to @wojdyr and @lautis0503
_TINYDIR_PATH_MAX
if PATH_MAX
not available (#61)WIN32_LEAN_AND_MEAN
redefinition (#62)Thanks to @schodet and @jesta88 for reporting
Fix buffer overflow for MSVC (#52)
Thanks to @jernejsk for reporting
Fix for Windows 10 pre-Anniversary Update (d5a460c903b9e7c55ffbd0d31fb3a9dfffdb6aa1)
Thanks to James Chen (dumganhar)
Compatible with Window's TCHAR
; define UNICODE
and _UNICODE
before including tinydir.h
to enable.
Thanks to @lautis0503
Fix various issues with readdir_r
; fix compilation under MinGW
Thanks to @eXpl0it3r for reporting.
Now using readdir_r()
, which makes tinydir threadsafe.
Thanks to @Andargor