1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/littlefs
Benjamin Valentin 6a361795ee pkg/littlefs*: align readdir() with documentation
`readdir()` should only output the name of the file, but littleFS
adds a leading `/`.

Neither FAT nor Linux will exhibit this behavior.

        struct dirent *entry;
        DIR *dir = opendir(".");
        while ((entry = readdir(dir))) {
                printf("%s\n", entry->d_name);
        }

This results in surprising failures of code that expects filenames
to match that was tested on a different FS, when suddenly there is
a `/` in front of the filename.
2022-02-07 23:25:14 +01:00
..
fs pkg/littlefs*: align readdir() with documentation 2022-02-07 23:25:14 +01:00
doc.txt pkg: add littlefs pkg and vfs integration 2018-01-09 17:03:44 +01:00
Makefile pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
Makefile.include vfs: select VFS params to accommodate all enabled file systems 2020-06-17 16:00:24 +02:00