From 03cf736329b821bf90edcf8c0c1add61008ef858 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 17 May 2018 20:09:27 +0300 Subject: Pass ignore_dangling flag to dir_iterator() ctor --- bpkg/rep-create.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/rep-create.cxx') diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index 34aeb2c..73fc758 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -60,7 +60,7 @@ namespace bpkg { tracer trace ("collect"); - for (const dir_entry& de: dir_iterator (d)) // system_error + for (const dir_entry& de: dir_iterator (d, false /* ignore_dangling */)) { path p (de.path ()); -- cgit v1.1