diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-10-02 10:51:19 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-11-22 08:25:34 +0100 |
commit | 0b49a6ad440392bc8758db5dfd522287c80ee6a8 (patch) | |
tree | e284ba11db4889f967af0ed8fb5d0feb576a3717 /src/basic/khash.c | |
parent | 39a1b2e5627f6434881978e7521860499c3ab8a0 (diff) |
path-util: some updates to path_make_relative()
Don't miscount number of "../" to generate, if we "." is included in an
input path.
Also, refuse if we encounter "../" since we can't possibly follow that
up properly, without file system access.
Some other modernizations.
Diffstat (limited to 'src/basic/khash.c')
0 files changed, 0 insertions, 0 deletions