Commit 3e11bb54 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'cygwin-path'


 SystemTools::FileIsFullPath: Do not accept Windows paths on Cygwin
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !208
parents 5bfba5e1 4c61b968
......@@ -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