mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
11 lines
559 B
C++
11 lines
559 B
C++
--- dom/src/dae/daeZAEUncompressHandler.cpp.orig 2017-10-21 05:05:24 UTC
|
|
+++ dom/src/dae/daeZAEUncompressHandler.cpp
|
|
@@ -271,7 +271,7 @@ bool daeZAEUncompressHandler::checkAndExtractInternalA
|
|
bool error = false;
|
|
|
|
boost::filesystem::path archivePath(filePath);
|
|
- std::string dir = archivePath.branch_path().string();
|
|
+ std::string dir = archivePath.parent_path().string();
|
|
|
|
const std::string& randomSegment = cdom::getRandomFileName();
|
|
std::string tmpDir = dir + cdom::getFileSeparator() + randomSegment + cdom::getFileSeparator();
|