Commit 18a1c09
committed
Remove unreachable block in fs path cleanup
The block checking for the root as a prefix of an absolute
link is unnecessary since the end path always gets joined
with the root. In the case where the symlink path is prefixed
with the root, this should be considered coincidental and the
unit tests already show that the root gets correctly applied
to absolute links. Additionally inside this block there is a
bug causing in incorrect truncation of the path which would
only manifest itself in this rare coincidental case.
Signed-off-by: Derek McGowan <[email protected]>1 parent 508d86a commit 18a1c09
1 file changed
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 251 | | |
258 | 252 | | |
259 | 253 | | |
| |||
0 commit comments