Commit 4c61b968 authored by Lemures Lemniscati's avatar Lemures Lemniscati Committed by Brad King
Browse files

SystemTools::FileIsFullPath: Do not accept Windows paths on Cygwin

parent 5bfba5e1
......@@ -3926,7 +3926,7 @@ bool SystemTools::FileIsFullPath(const char* in_name)
bool SystemToolsStatic::FileIsFullPath(const char* in_name, size_t len)
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(_WIN32) && !defined(__CYGWIN__)
// On Windows, the name must be at least two characters long.
if (len < 2) {
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment