chiark / gitweb /
path-util: don't insert duplicate "/" in path_make_absolute_cwd()
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Jan 2018 10:17:55 +0000 (11:17 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:10 +0000 (07:50 +0200)
commitcfd51ef3e72fc5d0651dae32f79ccab69bab9569
treea431cac94c229c3d0927fd2ad932475984f82bc8
parent08bd72638f8996f535848058bbb06e2bd77c2a56
path-util: don't insert duplicate "/" in path_make_absolute_cwd()

When the working directory is "/" it's prettier not to insert a second
"/" in the path, even though it is technically correct.
src/basic/path-util.c