From ae43c5780651d594b1ec76e99330cd6ef082b0c5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 16 Oct 2020 22:18:45 +0300 Subject: Add fdselect() overload that also takes timeout --- libbutl/filesystem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbutl/filesystem.cxx') diff --git a/libbutl/filesystem.cxx b/libbutl/filesystem.cxx index 9e8a232..18be8a9 100644 --- a/libbutl/filesystem.cxx +++ b/libbutl/filesystem.cxx @@ -1447,7 +1447,7 @@ namespace butl path r (p); bool exists; - for (size_t i (0); true; ++i) + for (size_t i (0);; ++i) { pair pe (path_entry (r)); -- cgit v1.1