[79772] trunk/base/src/pextlib1.0/fs-traverse.c
afb at macports.org
afb at macports.org
Sat Jun 25 04:41:08 PDT 2011
Revision: 79772
http://trac.macports.org/changeset/79772
Author: afb at macports.org
Date: 2011-06-25 04:41:08 -0700 (Sat, 25 Jun 2011)
Log Message:
-----------
fix tails with trailing slash, on other platforms
Modified Paths:
--------------
trunk/base/src/pextlib1.0/fs-traverse.c
Modified: trunk/base/src/pextlib1.0/fs-traverse.c
===================================================================
--- 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;
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110625/c44e4aba/attachment.html>
More information about the macports-changes
mailing list