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:
KWSys Robot 2013-06-03 11:12:00 -04:00 committed by Brad King
parent d66f6f36ba
commit 6dc3dd91a6
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());
}