diff options
-rw-r--r-- | bpkg/manifest-utility.cxx | 3 | ||||
-rw-r--r-- | bpkg/rep-create.cxx | 2 | ||||
-rw-r--r-- | bpkg/rep-remove.cxx | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index 5bd273d..7a431b3 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -373,8 +373,7 @@ namespace bpkg { vector<pair<path, path>> r; - for (const dir_entry& de: - dir_iterator (config, false /* ignore_dangling */)) + for (const dir_entry& de: dir_iterator (config, dir_iterator::no_follow)) { if (de.type () == entry_type::regular) { diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index 6c95679..67cca95 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -58,7 +58,7 @@ namespace bpkg { tracer trace ("collect"); - for (const dir_entry& de: dir_iterator (d, false /* ignore_dangling */)) + for (const dir_entry& de: dir_iterator (d, dir_iterator::no_follow)) { path p (de.path ()); diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx index 26d5725..700534f 100644 --- a/bpkg/rep-remove.cxx +++ b/bpkg/rep-remove.cxx @@ -336,7 +336,7 @@ namespace bpkg try { - for (const dir_entry& de: dir_iterator (rd, false /* ignore_dangling */)) + for (const dir_entry& de: dir_iterator (rd, dir_iterator::no_follow)) { if (de.ltype () == entry_type::directory) rmdir (db.config_orig, rd / path_cast<dir_path> (de.path ())); |