diff options
author | B. Stack <bgstack15@gmail.com> | 2024-04-02 09:18:58 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2024-04-02 09:18:58 -0400 |
commit | d287d1d35a5bf96487d7abdeee8c42a851d5d292 (patch) | |
tree | aa74abf9f7bf245cbff1add74dd2697da45e0611 /zen/process_exec.cpp | |
parent | add upstream 13.4 (diff) | |
download | FreeFileSync-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.cpp | 2 |
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 |