diff options
author | David Robillard <d@drobilla.net> | 2022-11-12 17:54:30 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-11-16 10:22:55 -0500 |
commit | 07a05e6edbf20016836a7c47d8cb8102fbfed86b (patch) | |
tree | 58b8a82b7b07eff50c2c86cf03a63a86b0266c7a /src/util.c | |
parent | a9323d9ccb4a1dccaf5c62bfc7db0c22c9011c61 (diff) | |
download | lilv-07a05e6edbf20016836a7c47d8cb8102fbfed86b.tar.gz lilv-07a05e6edbf20016836a7c47d8cb8102fbfed86b.tar.bz2 lilv-07a05e6edbf20016836a7c47d8cb8102fbfed86b.zip |
Use zix_dir_for_each()
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ #include "lilv/lilv.h" #include "serd/serd.h" #include "zix/allocator.h" +#include "zix/filesystem.h" #include "zix/path.h" #include <sys/stat.h> @@ -271,7 +272,7 @@ lilv_get_latest_copy(const char* path, const char* copy_path) LILV_ERRORF("stat(%s) (%s)\n", path, strerror(errno)); } - lilv_dir_for_each(copy_dir, &latest, update_latest); + zix_dir_for_each(copy_dir, &latest, update_latest); free(latest.pattern); free(copy_dir); |