aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path.mxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/path.mxx')
-rw-r--r--libbutl/path.mxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/path.mxx b/libbutl/path.mxx
index ab85a0f..5b9bec1 100644
--- a/libbutl/path.mxx
+++ b/libbutl/path.mxx
@@ -343,6 +343,9 @@ LIBBUTL_MODEXPORT namespace butl
static int
compare (const C* l, size_type ln, const C* r, size_type rn)
{
+ //@@ TODO: would be nice to ignore difference in trailing slashes
+ // (except for POSIX root).
+
for (size_type i (0), n (ln < rn ? ln : rn); i != n; ++i)
{
#ifdef _WIN32