mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01:00
Merge pull request #6039 from andersk/2.6-slash
[2.6] canonPath: fix missing slash when resolving links
This commit is contained in:
commit
a07ecbc548
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ Path canonPath(PathView path, bool resolveSymlinks)
|
|||
path = {};
|
||||
} else {
|
||||
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue