chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:10 +0000 (07:50 +0200)
commite3e2901e3cb94b69312bf8b708f8b2683bf2784f
tree528c0e2cea859bcced5def02493f1c2a770a153d
parent6bfd45823cd36620dabd4f6c979d784041a20dec
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