From 8a70315bb46e215ec35ae8aa58da449624f17699 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 9 Aug 2004 17:42:27 -0400 Subject: [PATCH] BUG: fix for try run failing on some cygwin builds. Allow a driver letter to start a full path on cygwin --- Source/kwsys/SystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 9dc7e9809..f445c8ee5 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/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) {