We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be816fa commit 8b3a49cCopy full SHA for 8b3a49c
1 file changed
src/task.c
@@ -300,6 +300,9 @@ recode_perform_task (RECODE_TASK task)
300
subtask->output.cursor = subtask->output.buffer;
301
302
#if HAVE_PIPE
303
+ /* Flush all outputs to avoid duplicated buffers after calling fork */
304
+ fflush (NULL);
305
+
306
/* Create all subprocesses, from the first to the last, and
307
interconnect them. */
308
0 commit comments