strip trailing seps
parent
96a3c9da30
commit
9c2fdd5f67
|
@ -345,6 +345,10 @@ private:
|
||||||
}
|
}
|
||||||
p_path.append(s);
|
p_path.append(s);
|
||||||
}
|
}
|
||||||
|
/* strip trailing separator */
|
||||||
|
if ((p_path.length() > 1) && (p_path.back() == sep)) {
|
||||||
|
p_path.pop_back();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void convert_path() {
|
void convert_path() {
|
||||||
|
|
Loading…
Reference in New Issue