diff options
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 58bdf07..a5a196c 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -1756,6 +1756,7 @@ kwsys_stl::string SystemTools::CollapseFullPath(const char* in_relative, void SystemTools::SplitPath(const char* p, kwsys_stl::vector<kwsys_stl::string>& components) { + components.clear(); // Identify the root component. const char* c = p; if(c[0] == '/' && c[1] == '/') |