From d7b7be0e74a441be27b14823cfe76cc9f34d93ee Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 28 Apr 2018 18:21:39 +0200 Subject: Few bug fixes --- libbutl/filesystem.cxx | 2 +- libbutl/utility.mxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl') diff --git a/libbutl/filesystem.cxx b/libbutl/filesystem.cxx index 28412d6..bff251a 100644 --- a/libbutl/filesystem.cxx +++ b/libbutl/filesystem.cxx @@ -508,7 +508,7 @@ namespace butl if (!dir) throw_generic_error (ENOSYS, "file symlinks not supported"); - switch (try_rmdir (path_cast (link, io))) + switch (try_rmdir (path_cast (link), io)) { case rmdir_status::success: return rmfile_status::success; case rmdir_status::not_exist: return rmfile_status::not_exist; diff --git a/libbutl/utility.mxx b/libbutl/utility.mxx index b957282..a431bc4 100644 --- a/libbutl/utility.mxx +++ b/libbutl/utility.mxx @@ -139,7 +139,7 @@ LIBBUTL_MODEXPORT namespace butl // Trim leading/trailing whitespacec, including '\r'. // - std::string& + LIBBUTL_SYMEXPORT std::string& trim (std::string&); // Find the beginning and end poistions of the next word. Return the size -- cgit v1.1