diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-05 00:20:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-09 23:38:25 +0200 |
| commit | 94a9473993b027b9368077009decbdd4322f90e3 (patch) | |
| tree | dca58767988a9f8c38521936992f46c9dc107194 /src/lib/ext.cc | |
| parent | e7a04275703b8cd54e1325d42f484ed7d0acab92 (diff) | |
Bump libdcp for new filesystem wrappers.
Diffstat (limited to 'src/lib/ext.cc')
| -rw-r--r-- | src/lib/ext.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ext.cc b/src/lib/ext.cc index 2ef3df6bb..25946df73 100644 --- a/src/lib/ext.cc +++ b/src/lib/ext.cc @@ -28,6 +28,7 @@ #include "ext.h" #include "nanomsg.h" #include <dcp/file.h> +#include <dcp/filesystem.h> #ifdef DCPOMATIC_LINUX #include <linux/fs.h> @@ -83,7 +84,7 @@ count (std::vector<boost::filesystem::path> dirs, uint64_t& total_bytes) using namespace boost::filesystem; for (auto dir: dirs) { - dir = dcp::fix_long_path(dir); + dir = dcp::filesystem::fix_long_path(dir); for (auto path: directory_iterator(dir)) { if (is_directory(path)) { count({path}, total_bytes); @@ -228,7 +229,7 @@ void copy (boost::filesystem::path from, boost::filesystem::path to, uint64_t& total_remaining, uint64_t total, vector<CopiedFile>& copied_files, Nanomsg* nanomsg) { LOG_DISK ("Copy %1 -> %2", from.string(), to.generic_string()); - from = dcp::fix_long_path (from); + from = dcp::filesystem::fix_long_path(from); using namespace boost::filesystem; |
