citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 1ce263b52d149e84c87b76972898fe9842e8c706
parent 14470466d6d8385fbcde4c4552dca7dd194946c3
Author: Kyle Milz <kyle@0x30.net>
Date:   Wed,  3 Aug 2016 00:37:15 -0600

src: don't double output logging

Diffstat:
Msrc/inst_main.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/inst_main.cc b/src/inst_main.cc @@ -288,6 +288,8 @@ CitrunInst::exec_compiler() int CitrunInst::fork_compiler() { + // Otherwise we'll get two copies of buffers after fork(). + m_log.flush(); pid_t child_pid; if ((child_pid = fork()) < 0)