mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 06:09:52 -06:00
KWSys 2013-06-03 (d79a792e)
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ d79a792e | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' dccf7725..d79a792e
Brad King (1):
d79a792e SystemTools: Fix CollapseFullPath to not erase root component
Change-Id: I25c6600a621a960738b5afc0ba73f63df0693303
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user