... and make path_equal() a simple wrapper around it.
2230852 shared: add path_compare(), an ordering path comparison
src/shared/path-util.c | 37 +++++++++++++++++++++++++++----------
src/shared/path-util.h | 1 +
src/test/test-path-util.c | 36 +++++++++++++++++++++++++-----------
3 files changed, 53 insertions(+), 21 deletions(-)
Upstream: github.com