[PATCH 3/3] When remapping paths, only match whole path components

2017-07-21 Thread Ximin Luo
Change the remapping algorithm so that each old_prefix only matches paths that have old_prefix as a whole path component prefix. (A whole path component is a part of a path that begins and ends at a directory separator or at either end of the path string.) This remapping algorithm is more predict

[PATCH 3/3] When remapping paths, only match whole path components

2017-04-11 Thread Ximin Luo
Change the remapping algorithm so that each old_prefix only matches paths that have old_prefix as a whole path component prefix. (A whole path component is a part of a path that begins and ends at a directory separator or at either end of the path string.) This remapping algorithm is more predict