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:
parent
d66f6f36ba
commit
6dc3dd91a6
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue