Revert incorrect 'fixing' of path on Windows (#1992).
authorCarl Hetherington <cth@carlh.net>
Tue, 11 May 2021 12:08:42 +0000 (14:08 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 11 May 2021 12:08:42 +0000 (14:08 +0200)
This "to" path is on the ext2 drive so should not have any Windows
hacks applied to it.

src/lib/ext.cc

index b7481e293eae818d152ea9b9da1ec2b51b8ff9be..86821bfa11336fcf3c8556c55fea3a41283c2a6b 100644 (file)
@@ -221,7 +221,6 @@ copy (boost::filesystem::path from, boost::filesystem::path to, uint64_t& total_
 {
        LOG_DISK ("Copy %1 -> %2", from.string(), to.generic_string());
        from = fix_long_path (from);
 {
        LOG_DISK ("Copy %1 -> %2", from.string(), to.generic_string());
        from = fix_long_path (from);
-       to = fix_long_path (to);
 
        using namespace boost::filesystem;
 
 
        using namespace boost::filesystem;