mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 05:01:50 -06:00
BUG: Fix ExpandListArgument when the string ends in a backslash.
This commit is contained in:
@@ -1152,6 +1152,11 @@ void cmSystemTools::ExpandListArgument(const std::string& arg,
|
||||
{
|
||||
newArgVec.push_back(*c);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Terminate the loop properly.
|
||||
--c;
|
||||
}
|
||||
}
|
||||
} break;
|
||||
case '[':
|
||||
|
||||
Reference in New Issue
Block a user