mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Update filesystemHelpers.cpp
This commit is contained in:
parent
b03f851cba
commit
c68793cd12
@ -132,7 +132,7 @@ bool symlinkStartsWith(const std::filesystem::path & path, const std::filesystem
|
||||
auto absolute_path = std::filesystem::absolute(path);
|
||||
absolute_path = absolute_path.lexically_normal(); /// Normalize path.
|
||||
auto absolute_prefix_path = std::filesystem::absolute(prefix_path);
|
||||
absolute_pefix_path = absolute_prefix_path.lexically_normal(); /// Normalize path.
|
||||
absolute_prefix_path = absolute_prefix_path.lexically_normal(); /// Normalize path.
|
||||
|
||||
auto [_, prefix_path_mismatch_it] = std::mismatch(absolute_path.begin(), absolute_path.end(), absolute_prefix_path.begin(), absolute_prefix_path.end());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user