diff options
author | ShadowNinja <shadowninja@minetest.net> | 2016-11-24 10:35:48 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2016-11-24 10:38:23 -0500 |
commit | e4ee6548afd01040046ee3780d0fbb121d141251 (patch) | |
tree | e36f66f1e50ce7d7ef934e429a12865ad3facab6 /src/unittest/test_filepath.cpp | |
parent | 3af5eef96463510a27cf06b9c3ecc9f1d04cdac6 (diff) | |
download | minetest-e4ee6548afd01040046ee3780d0fbb121d141251.tar.gz minetest-e4ee6548afd01040046ee3780d0fbb121d141251.tar.bz2 minetest-e4ee6548afd01040046ee3780d0fbb121d141251.zip |
Fix fs::RemoveRelativePathComponents for paths with a leading dot component
Previously, paths like ./worlds would be resolved to /worlds since the
leading dot was considered just as irrelevant as a dot in the middle of
the path.
Diffstat (limited to 'src/unittest/test_filepath.cpp')
0 files changed, 0 insertions, 0 deletions