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