Merge topic 'update-kwsys'

c91e88d Merge branch 'upstream-kwsys' into update-kwsys
6dc3dd9 KWSys 2013-06-03 (d79a792e)
This commit is contained in:
Brad King 2013-06-05 09:39:41 -04:00 committed by CMake Topic Stage
commit 31a0220397
1 changed files with 1 additions and 1 deletions

View File

@ -3085,7 +3085,7 @@ SystemToolsAppendComponents(
{
if(*i == "..")
{
if(out_components.begin() != out_components.end())
if(out_components.size() > 1)
{
out_components.erase(out_components.end()-1, out_components.end());
}