Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-17 | Merge pull request #70 from cxong/lstat_bugfix1.2.5 | Lautis Sun | |
Use lstat() for macOS and *BSD (bug fix) | |||
2021-11-16 | Create cmake.yml (fixes #71) | Cong | |
2021-11-11 | Use lstat() for macOS and *BSD (bug fix)lstat_bugfix | Lautis Sun | |
Refer to issue #63. Thanks to @wojdyr. | |||
2019-12-08 | Fix tinydir_file_open for root or subfolder of root in Linux. | Lautis Sun | |
2019-11-29 | Implement tinydir_file_open for drive root (fixes #66) | Cong | |
2019-05-13 | tinydir_readfile(): avoid GCC 8+ warning and simplify (#64) | Marcin Wojdyr | |
The code was correct, but GCC 8 and 9 warned: $ g++-8 -O2 -Wall -I.. file_open_sample.c In file included from /usr/include/string.h:494, from ../tinydir.h:46, from file_open_sample.c:2: In function ‘char* strcat(char*, const char*)’, inlined from ‘int tinydir_readfile(const tinydir_dir*, tinydir_file*)’ at ../tinydir.h:550:17, inlined from ‘int tinydir_file_open(tinydir_file*, const char*)’ at ../tinydir.h:727:23, inlined from ‘int main(int, char**)’ at file_open_sample.c:12:23: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:128:33: warning: ‘char* __builtin___strcat_chk(char*, const char*, long unsigned int)’ accessing 4097 or more bytes at offsets 0 and 4096 may overlap 1 byte at offset 4096 [-Wrestrict] return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
2019-02-10 | Use lstat() instead of stat() when available. (fixes #63) | Lautis Sun | |
2018-11-23 | Fix PATH_MAX macro | Lautis Sun | |
PATH_MAX not defined in Debian GNU/Hurd 9. | |||
2018-10-19 | Fix some macros (#61 and #62) | Lautis Sun | |
2018-02-23 | check errno inside tinydir_file_open (fixes #58) (#59) | Sergei Voronezhskii | |
* check errno inside tinydir_file_open (fixes #58) `_tsplitpath_s` returns errno_t which should to be check instead of `(void) _tsplitpath` * one block for checking errno | |||
2018-02-12 | Fix clang-tidy malloc 0 warning (fixes #56) | Cong | |
Fixes potential invalid memory write bug, on platforms that return non-`NULL` for `malloc(0)`. | |||
2017-10-21 | Include limits.h instead (#54) | Lautis Sun | |
Should work for Linux/*BSD/OS X(macOS). Not tested in iOS. | |||
2017-08-05 | Merge pull request #51 from lautis0503/win95 | Lautis Sun | |
2017-07-19 | Fix MSVC buffer overflow (fixes #52) | Cong | |
2017-07-13 | Fix FindFirstFile not available in Windows 10 SDK 10240 (#49) | Lautis Sun | |
2017-03-29 | Fixes FindFirstFile is missing on win10 (#50, fixes #49) | James Chen | |
2016-10-28 | Use readdir by default | Lautis Sun | |
2016-09-25 | Use readdir by default (fixes #41) | Cong | |
Add windows unicode test Update .gitignore for VS2015 | |||
2016-09-08 | Update tinydir.h | Cong | |
2016-09-07 | Make dir_name_buf no longer than _TINYDIR_FILENAME_MAX | Lautis Sun | |
Like the previous commit, _splitpath_s may not work fine with too long buffer of parameters. Refer to https://msdn.microsoft.com/en-us/library/8e46eyt7.aspx#Anchor_3 | |||
2016-09-07 | Define _TINYDIR_PATH_MAX as OS supports | Lautis Sun | |
2016-09-07 | Add declaration of tinydir_file_open | Lautis Sun | |
2016-09-07 | Fix unicode support #39 | Lautis Sun | |
2016-07-19 | Replace & with && in line 36&40 | Lautis Sun | |
Should look good | |||
2016-07-19 | Test if a unicode string is empty | Lautis Sun | |
2016-07-19 | Fix unicode support in tinydir_file_open | Lautis Sun | |
2016-07-17 | Fix tinydir_file_open with filename only failure in Windows (fixes #35) | Cong | |
Implement file_open_test for Windows | |||
2016-07-08 | Update tinydir.h | Cong | |
2016-07-07 | Make sure that _UNICODE & UNICODE are both defined. | Lautis Sun | |
2016-07-04 | Fix _splitpath for old versions of VS | Lautis Sun | |
_splitpath_s is not available until VS 2005 | |||
2016-06-26 | Something useless? | Lautis Sun | |
2016-06-26 | Fix _splitpath for mingw32 | Lautis Sun | |
2016-06-25 | Fix support for VS | Lautis Sun | |
2016-06-25 | Add UNICODE support for MINGW32 | Lautis Sun | |
2016-06-25 | Let Windows choose which function to use | Lautis Sun | |
2016-06-20 | Add UNICODE support in windows based on #19 (Fixes #17) | Lautis Sun | |
ATTENTION: NOT TESTED YET. | |||
2016-04-15 | pragma warning fix | GFdevelop | |
2016-04-03 | Fix var result unused | Cong | |
2016-04-02 | Remove trailing slashes from path | Cong | |
2016-04-02 | Use feature test macros for _tinydir_dirent_buf_size (fixes #30)1.1.1 | cxong | |
2016-04-02 | Remove root .gitignore; include cpp_sample in CMakeLists | cxong | |
2016-03-31 | Use readdir fallback if non-POSIX (fixes #29) | Cong | |
2016-03-30 | Rework STDC_VERSION macro check to default to C99+ | Cong | |
2016-03-30 | Fix inline warning under C99 (#28) | Cong | |
2016-03-30 | Don't use readdir_r on MinGW (#28) | Cong | |
2016-03-15 | Merge pull request #24 from cosmy1/master | Cong | |
Update tinydir.h | |||
2016-03-13 | update copyright authors | Cong | |
2016-03-12 | Avoid setting errno if system already provides one | Cong | |
2016-03-12 | Remove unneeded error local var | Cong | |
2016-03-12 | Move helper function below definitions | Cong | |