Commit Graph

8 Commits

Author SHA1 Message Date
Xavier Del Campo Romero 822ff99e6f posix.c: Make use of S_ISDIR 2023-03-28 02:34:37 +02:00
Xavier Del Campo Romero ba58914cb1 Allow user to specify OS-specific file mode flags 2023-03-28 02:34:23 +02:00
Xavier Del Campo Romero 8843785696 Fix typos in CMakeLists.txt 2020-10-22 09:35:47 +02:00
Xavier Del Campo Romero 3a6c25efeb Add support for Win32 2020-10-13 16:23:12 +02:00
Xavier Del Campo Romero 6930a91f26 Remove unneeded #include <dirent.h> 2020-09-28 07:39:40 +02:00
Xavier Del Campo Romero 3de04d477f Move away from recursion-based algorithm
Previous implementation could not be realiable for embedded applications
since it used recursion and allocated a buffer for each folder in the
tree. Now, one single allocation is made, duplicating the original string so
it can be tokenized.

A check which ensures each element from the tree is a directory has also
been added. On the other hand, errno is now set when standard functions don't.
2020-09-23 12:29:30 +02:00
Xavier Del Campo Romero 09282eefd0 Remove level parameter from mkdir_r API
It has been removed since it is of no use to the end user.
2020-09-17 13:07:46 +02:00
Xavier Del Campo Romero 019e074bde First commit 2020-07-26 16:51:08 +02:00