fix tails with trailing slash, on other platforms
--- trunk/base/src/pextlib1.0/fs-traverse.c 2011-06-25 11:40:35 UTC (rev 79771)
+++ trunk/base/src/pextlib1.0/fs-traverse.c 2011-06-25 11:41:08 UTC (rev 79772)
@@ -146,6 +146,8 @@
xpath = ".";
} else if (*(xpath + tlen) == '/') {
xpath += tlen + 1;
+ } else if (*(target + tlen - 1) == '/') {
+ xpath += tlen;
}
}