diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-09-14 21:15:22 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-09-14 21:15:22 +0200 |
commit | d97b40aa34f53b612900e992c66d321878d7f976 (patch) | |
tree | 36e1fa08d8bf0f7ca9f88c7ab47f1bc151a6e56e /src/blogc-make/exec-native.c | |
parent | 8a2a49f7c321145fdbf3d8f5bafa5139e8045fb8 (diff) | |
download | blogc-d97b40aa34f53b612900e992c66d321878d7f976.tar.gz blogc-d97b40aa34f53b612900e992c66d321878d7f976.tar.bz2 blogc-d97b40aa34f53b612900e992c66d321878d7f976.zip |
make: renamed bm_exec_empty_dir()
Diffstat (limited to 'src/blogc-make/exec-native.c')
-rw-r--r-- | src/blogc-make/exec-native.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc-make/exec-native.c b/src/blogc-make/exec-native.c index a02cd26..ae5517d 100644 --- a/src/blogc-make/exec-native.c +++ b/src/blogc-make/exec-native.c @@ -89,7 +89,7 @@ bm_exec_native_cp(bm_filectx_t *source, bm_filectx_t *dest, bool verbose) bool -bm_exec_empty_dir(const char *dir, bc_error_t **err) +bm_exec_native_is_empty_dir(const char *dir, bc_error_t **err) { DIR *d = opendir(dir); if (d == NULL) { @@ -149,7 +149,7 @@ bm_exec_native_rm(const char *output_dir, bm_filectx_t *dest, bool verbose) bc_error_t *err = NULL; while ((0 != strcmp(short_dir, ".")) && (0 != strcmp(short_dir, "/"))) { - bool empty = bm_exec_empty_dir(dir, &err); + bool empty = bm_exec_native_is_empty_dir(dir, &err); if (err != NULL) { fprintf(stderr, "blogc-make: error: %s\n", err->msg); bc_error_free(err); |