summaryrefslogtreecommitdiff
path: root/zen/process_exec.cpp
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-05-10 11:21:56 -0400
committerB. Stack <bgstack15@gmail.com>2024-05-10 11:21:56 -0400
commit7a5f22cfe87f938ef58f92b48ac379dc1c4c81c7 (patch)
tree3ed84995318afbd82d5d98a2ba044f9ba58b57c6 /zen/process_exec.cpp
parentadd upstream 13.5 (diff)
downloadFreeFileSync-13.6.tar.gz
FreeFileSync-13.6.tar.bz2
FreeFileSync-13.6.zip
add upstream 13.613.6
Diffstat (limited to 'zen/process_exec.cpp')
-rw-r--r--zen/process_exec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/process_exec.cpp b/zen/process_exec.cpp
index 46c04eb5..76a2e436 100644
--- a/zen/process_exec.cpp
+++ b/zen/process_exec.cpp
@@ -5,7 +5,7 @@
// *****************************************************************************
#include "process_exec.h"
-#include <chrono>
+//#include <chrono>
#include "guid.h"
#include "file_access.h"
#include "file_io.h"
@@ -207,7 +207,7 @@ std::pair<int /*exit code*/, std::string> processExecuteImpl(const Zstring& file
THROW_LAST_SYS_ERROR("lseek");
guardTmpFile.dismiss();
- FileInputPlain streamIn(fdTempFile, tempFilePath); //takes ownership!
+ FileInputPlain streamIn(fdTempFile, tempFilePath); //pass ownership!
std::string output = unbufferedLoad<std::string>([&](void* buffer, size_t bytesToRead)
{
bgstack15