Commit c3fb76a0 authored by Dave Partyka's avatar Dave Partyka
Browse files

ENH: try and see if using string.append instead of += will make valgrind not...

ENH: try and see if using string.append instead of += will make valgrind not complaing that JoinPath is leaking.
parent df3aca99
......@@ -3325,18 +3325,18 @@ SystemTools
// The first two components do not add a slash.
if(first != last)
{
result += *first++;
result.append(*first++);
}
if(first != last)
{
result += *first++;
result.append(*first++);
}
// All remaining components are always separated with a slash.
while(first != last)
{
result += "/";
result += *first++;
result.append("/");
result.append(*first++);
}
// Return the concatenated result.
......
......@@ -7,4 +7,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2009)
SET(KWSYS_DATE_STAMP_MONTH 07)
# KWSys version date day component. Format is DD.
SET(KWSYS_DATE_STAMP_DAY 24)
SET(KWSYS_DATE_STAMP_DAY 26)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment