From 6e126ac30038502acf7016f0e76b3183f1304042 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 3 Apr 2019 21:19:50 +0300 Subject: Change depdb API and handle system_error thrown by butl::file_mtime() Previously, debdb operations threw system_error and io_error to signal errors, except for opening which issued diagnostics and failed. Now all operations print the diagnostics and fail on system and IO errors. --- build2/test/script/builtin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/test') diff --git a/build2/test/script/builtin.cxx b/build2/test/script/builtin.cxx index 657d8d4..e4eb895 100644 --- a/build2/test/script/builtin.cxx +++ b/build2/test/script/builtin.cxx @@ -996,7 +996,7 @@ namespace build2 check_wd (from); check_wd (to); - bool exists (entry_exists (to)); + bool exists (butl::entry_exists (to)); // Fail if the source and destination paths are the same. // -- cgit v1.1