From 18c8af55e63653c74d58137cd12434f1213f4230 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Aug 2020 16:07:48 +0200 Subject: Rename some filename utilities for clarity Loosely inspired by Python and the std::filesystem API. --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index 987d1ee..ac0ca55 100644 --- a/src/util.c +++ b/src/util.c @@ -264,7 +264,7 @@ update_latest(const char* path, const char* name, void* data) char* lilv_get_latest_copy(const char* path, const char* copy_path) { - char* copy_dir = lilv_dirname(copy_path); + char* copy_dir = lilv_path_parent(copy_path); Latest latest = { lilv_strjoin(copy_path, ".%u", NULL), 0, NULL }; struct stat st; -- cgit v1.2.1