diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-04-28 18:21:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-04-28 18:21:39 +0200 |
commit | d7b7be0e74a441be27b14823cfe76cc9f34d93ee (patch) | |
tree | 9f0f324b433246560cee02355597b4cadaf0c7e1 | |
parent | 4790f24757cf9a038d7cd37b370bac1807fb2d8c (diff) |
Few bug fixes
-rw-r--r-- | libbutl/filesystem.cxx | 2 | ||||
-rw-r--r-- | libbutl/utility.mxx | 2 |
2 files changed, 2 insertions, 2 deletions
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<dir_path> (link, io))) + switch (try_rmdir (path_cast<dir_path> (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 |