summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-03-28 21:54:44 +0100
committerRobin Gareus <robin@gareus.org>2013-03-28 21:54:44 +0100
commitbbb4aa0141d80b6d120d7ab16573fd92007f5f80 (patch)
tree75c6a20a2b0913b781b5e01be113d4443dee8a45 /gtk2_ardour
parent74c9bc6fcc0aae2cd020e80d0ee70c3781e385b9 (diff)
vtl: fflush stdout/in after writing to external process
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/system_exec.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/system_exec.cc b/gtk2_ardour/system_exec.cc
index a01351c92e..889b1565ad 100644
--- a/gtk2_ardour/system_exec.cc
+++ b/gtk2_ardour/system_exec.cc
@@ -658,6 +658,7 @@ SystemExec::write_to_stdin(std::string d, size_t len)
}
c += r;
}
+ fsync(pin[1]);
::pthread_mutex_unlock(&write_lock);
return c;
}