BUG: fix for try run failing on some cygwin builds. Allow a driver letter to start a full path on cygwin
This commit is contained in:
parent
63e6237600
commit
8a70315bb4
|
@ -1647,7 +1647,7 @@ SystemTools::GetFilenameWithoutLastExtension(const kwsys_stl::string& filename)
|
||||||
bool SystemTools::FileIsFullPath(const char* in_name)
|
bool SystemTools::FileIsFullPath(const char* in_name)
|
||||||
{
|
{
|
||||||
kwsys_stl::string name = 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.
|
// On Windows, the name must be at least two characters long.
|
||||||
if(name.length() < 2)
|
if(name.length() < 2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue