path-util: fix an issue when the path argument of prefix_roota() is not absolute
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 Jun 2019 14:36:38 +0000 (23:36 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 Jun 2019 14:37:11 +0000 (23:37 +0900)
commit95bbf19e2f13466ce81664a82ce29960c0154ddb
tree31fc2c55cebd1abfbd05ee4dfd1ea85466431f58
parentc4556774496326b7288013008c0798540f88702c
path-util: fix an issue when the path argument of prefix_roota() is not absolute

When the first argument is '/' and the second argument is not absolute,
the return value was not prefixed with '/'. This fixes the issue.
src/basic/path-util.h