diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-02-03 02:27:02 +0000 |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2010-02-03 02:27:02 +0000 |
commit | 673a0cb9079f8f37bd61588a3160e12daf70ec44 (patch) | |
tree | af456a0d47524f6bb5cbb49d160e0aaf60110daf /src/gtest-filepath.cc | |
parent | 8236131e25705a809d496672a3819e1741166c4b (diff) | |
download | gtest-673a0cb9079f8f37bd61588a3160e12daf70ec44.tar.gz gtest-673a0cb9079f8f37bd61588a3160e12daf70ec44.tar.bz2 gtest-673a0cb9079f8f37bd61588a3160e12daf70ec44.tar.xz |
Adds Solaris support (by Hady Zalek)
git-svn-id: http://googletest.googlecode.com/svn/trunk@371 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'src/gtest-filepath.cc')
-rw-r--r-- | src/gtest-filepath.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtest-filepath.cc b/src/gtest-filepath.cc index 27a3342..c1ef918 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_ = ""; |