aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest-filepath.cc
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2010-02-03 02:27:02 +0000
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2010-02-03 02:27:02 +0000
commitcfcbc298cd91806e0e3417e03fce42bc4f1fa150 (patch)
treeaf456a0d47524f6bb5cbb49d160e0aaf60110daf /src/gtest-filepath.cc
parent8d373310561a8d68d2a22ca7c6613deff5fa6e05 (diff)
downloadgoogletest-cfcbc298cd91806e0e3417e03fce42bc4f1fa150.tar.gz
googletest-cfcbc298cd91806e0e3417e03fce42bc4f1fa150.tar.bz2
googletest-cfcbc298cd91806e0e3417e03fce42bc4f1fa150.zip
Adds Solaris support (by Hady Zalek)
Diffstat (limited to 'src/gtest-filepath.cc')
-rw-r--r--src/gtest-filepath.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtest-filepath.cc b/src/gtest-filepath.cc
index 27a33424..c1ef9188 100644
--- a/src/gtest-filepath.cc
+++ b/src/gtest-filepath.cc
@@ -342,9 +342,10 @@ FilePath FilePath::RemoveTrailingPathSeparator() const {
: *this;
}
-// Normalize removes any redundant separators that might be in the pathname.
+// Removes any redundant separators that might be in the pathname.
// For example, "bar///foo" becomes "bar/foo". Does not eliminate other
// redundancies that might be in a pathname involving "." or "..".
+// TODO(wan@google.com): handle Windows network shares (e.g. \\server\share).
void FilePath::Normalize() {
if (pathname_.c_str() == NULL) {
pathname_ = "";