Browse Source

BUG: fix for try run failing on some cygwin builds. Allow a driver letter to start a full path on cygwin

Bill Hoffman 21 years ago
parent
commit
8a70315bb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/kwsys/SystemTools.cxx

+ 1 - 1
Source/kwsys/SystemTools.cxx

@@ -1647,7 +1647,7 @@ SystemTools::GetFilenameWithoutLastExtension(const kwsys_stl::string& filename)
 bool SystemTools::FileIsFullPath(const char* in_name)
 {
   kwsys_stl::string name = in_name;
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__CYGWIN__)
   // On Windows, the name must be at least two characters long.
   if(name.length() < 2)
     {