summaryrefslogtreecommitdiff
path: root/zen/process_exec.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-04-02 09:18:58 -0400
committerB. Stack <bgstack15@gmail.com>2024-04-02 09:18:58 -0400
commitd287d1d35a5bf96487d7abdeee8c42a851d5d292 (patch)
treeaa74abf9f7bf245cbff1add74dd2697da45e0611 /zen/process_exec.cpp
parentadd upstream 13.4 (diff)
downloadFreeFileSync-13.5.tar.gz
FreeFileSync-13.5.tar.bz2
FreeFileSync-13.5.zip
add upstream 13.513.5
Diffstat (limited to 'zen/process_exec.cpp')
-rw-r--r--zen/process_exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/process_exec.cpp b/zen/process_exec.cpp
index 89df9f8b..46c04eb5 100644
--- a/zen/process_exec.cpp
+++ b/zen/process_exec.cpp
@@ -69,7 +69,7 @@ std::pair<int /*exit code*/, std::string> processExecuteImpl(const Zstring& file
const int fdTempFile = ::open(tempFilePath.c_str(), O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC,
S_IRUSR | S_IWUSR); //0600
if (fdTempFile == -1)
- THROW_LAST_SYS_ERROR("open");
+ THROW_LAST_SYS_ERROR("open(" + utfTo<std::string>(tempFilePath) + ")");
auto guardTmpFile = makeGuard<ScopeGuardRunMode::onExit>([&] { ::close(fdTempFile); });
//"deleting while handle is open" == FILE_FLAG_DELETE_ON_CLOSE
bgstack15