forked from lix-project/lix
Merge pull request #6018 from dtzWill/fix/issue-6017
canonPath: fix missing slash when resolving links
This commit is contained in:
commit
08fc3d6552
|
@ -147,7 +147,7 @@ Path canonPath(PathView path, bool resolveSymlinks)
|
||||||
path = {};
|
path = {};
|
||||||
} else {
|
} else {
|
||||||
s += path.substr(0, slash);
|
s += path.substr(0, slash);
|
||||||
path = path.substr(slash + 1);
|
path = path.substr(slash);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If s points to a symlink, resolve it and continue from there */
|
/* If s points to a symlink, resolve it and continue from there */
|
||||||
|
|
Loading…
Reference in a new issue