path-util: do something useful if the prefix is "" in path_make_absolute()
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Jan 2018 10:13:46 +0000 (11:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Jan 2018 10:14:28 +0000 (11:14 +0100)
commit81cce8ded58ed2f2e6ef2227509a90ad60d63502
tree1a5d1c3671758b1995898095236c5f609b684dc6
parent5caf49360b55b5a877cda05ea45f1c0047b81a7b
path-util: do something useful if the prefix is "" in path_make_absolute()

Do not insert a "/" if the prefix we shall use is empty. It's a corner
case we should probably take care of.
src/basic/path-util.c