commit | e9531894c37bb0d70596e0c5550c33bb27facf01 | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Thu Nov 05 23:09:15 2020 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 11:15:41 2021 -0800 |
tree | d58d1d5311c0a0c3b4823e5f335ef77071d5e909 | |
parent | 854771a776f86494e515f6bbf50ab3d30057de39 [diff] |
[libcxx] Have lexically_normal return the path with preferred separators Differential Revision: https://reviews.llvm.org/D91179 GitOrigin-RevId: 513463fd266f059864ce3c0236494cced5de0f56
diff --git a/src/filesystem/operations.cpp b/src/filesystem/operations.cpp index 458ba16..6f69ca9 100644 --- a/src/filesystem/operations.cpp +++ b/src/filesystem/operations.cpp
@@ -1717,6 +1717,7 @@ if (NeedTrailingSep) Result /= PS(""); + Result.make_preferred(); return Result; }