Implements a simple regex matcher (to be used by death tests on Windows).

This commit is contained in:
zhanyong.wan
2009-01-29 01:28:52 +00:00
parent a32fc79c9a
commit c946ae6019
6 changed files with 854 additions and 27 deletions

View File

@@ -215,7 +215,6 @@ bool FilePath::DirectoryExists() const {
// root directory per disk drive.)
bool FilePath::IsRootDirectory() const {
#ifdef GTEST_OS_WINDOWS
const char* const name = pathname_.c_str();
// TODO(wan@google.com): on Windows a network share like
// \\server\share can be a root directory, although it cannot be the
// current directory. Handle this properly.