]> git.lizzy.rs Git - minetest.git/commit
Fix RemoveRelatvePathComponents
authorShadowNinja <shadowninja@minetest.net>
Fri, 16 Dec 2016 22:35:58 +0000 (17:35 -0500)
committerCraig Robbins <kde.psych@gmail.com>
Tue, 20 Dec 2016 07:17:38 +0000 (17:17 +1000)
commitf522e7351a1eaffcd4b0f1f06fab65a44281f972
tree0f15074f71d5a57f19dc2a534d9d12fe2b57538a
parent59f84ca0a07e50dd5ce050d38ae1aeb529bd25ac
Fix RemoveRelatvePathComponents

This used to return "/foo" for "../foo" when it should return the enpty
string (i.e., error removing all relative components).
src/filesys.cpp
src/unittest/test_filepath.cpp