Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
littlefs: Fix issue with trailing dots in file paths #6774
Paths such as the following were causing issues:
Unfortunately the existing structure for path lookup didn't make it very easy to introduce proper handling in this case without duplicating the entire skip logic for paths. So the lfs_dir_find function had to be restructured a bit.
One odd side-effect of this is that now lfs_dir_find includes the initial fetch operation. This kinda breaks the fetch -> op pattern of the dir functions, but does come with a nice code size reduction.
Pull request type
changed the title from
littlefs: Fixed issue with trailing dots in file paths
littlefs: Fix issue with trailing dots in file paths
May 3, 2018
Build number : 1897
Build number : 1544