merge r79772 from trunk: fix tails with trailing slash, on other platforms
--- branches/release_2_0/base/src/pextlib1.0/fs-traverse.c 2011-06-28 10:08:28 UTC (rev 79856)
+++ branches/release_2_0/base/src/pextlib1.0/fs-traverse.c 2011-06-28 10:11:18 UTC (rev 79857)
@@ -146,6 +146,8 @@
xpath = ".";
} else if (*(xpath + tlen) == '/') {
xpath += tlen + 1;
+ } else if (*(target + tlen - 1) == '/') {
+ xpath += tlen;
}
}