Skip to content

filepath’s makeRelative does not work for relative directories

[I hope I’m filing this at the right place]

Hi,

I’d expect

makeRelative "some/path" "some/path/a/b/c" == "a/b/c"

Instead, I get the second path back. Is that intentional?

Thanks

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries (other)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information