aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/paths.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/paths.c b/stdlib/paths.c
index fc823901..fe4bde2e 100644
--- a/stdlib/paths.c
+++ b/stdlib/paths.c
@@ -146,6 +146,7 @@ public Path_t Path$relative_to(Path_t path, Path_t relative_to)
for (; shared < path.components.length && shared < relative_to.components.length; shared++) {
Text_t *p = (Text_t*)(path.components.data + shared*path.components.stride);
Text_t *r = (Text_t*)(relative_to.components.data + shared*relative_to.components.stride);
+ printf("%ld shared: %k vs %r\n", p, r);
if (!Text$equal_values(*p, *r))
break;
}