diff options
author | Michael Marineau <michael.marineau@coreos.com> | 2014-06-19 19:07:02 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-06-20 00:10:46 -0400 |
commit | 7d8da2c9641c584ff977493eeb8148300dce8759 (patch) | |
tree | cfdc04f242639527e0fd98d0f6b66c96b58d12ba /src/shared/path-util.h | |
parent | a2ae516a25dafe41e0cd296ab7b5d022fa62b95f (diff) |
shared: rename path_strv_canonicalize_absolute functions
Since 12ed81d9 path_strv_canonicalize_absolute leaves the search list
relative to the given root directory instead of resolving paths to their
true location as the name implies. To better reflect this behavior
rename to the less strongly worded path_strv_resolve.
Diffstat (limited to 'src/shared/path-util.h')
-rw-r--r-- | src/shared/path-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/path-util.h b/src/shared/path-util.h index 6882d7866b..976d2b26d0 100644 --- a/src/shared/path-util.h +++ b/src/shared/path-util.h @@ -47,8 +47,8 @@ char* path_startswith(const char *path, const char *prefix) _pure_; bool path_equal(const char *a, const char *b) _pure_; char** path_strv_make_absolute_cwd(char **l); -char** path_strv_canonicalize_absolute(char **l, const char *prefix); -char** path_strv_canonicalize_absolute_uniq(char **l, const char *prefix); +char** path_strv_resolve(char **l, const char *prefix); +char** path_strv_resolve_uniq(char **l, const char *prefix); int path_is_mount_point(const char *path, bool allow_symlink); int path_is_read_only_fs(const char *path); |