failtest: use high-numbers file descriptors to stay out of the way.
[ccan] / tools / ccanlint / async.c
index 5c2c4da73d31b1929b1dd25fcaa513c1b2337e92..e12e140daae9b0a4d5cccd0ae08b076fb782f5c4 100644 (file)
@@ -47,10 +47,12 @@ static void run_more(void)
 
        while (num_running < lbalance_target(lb)) {
                int p[2];
+
                c = tlist_top(&pending, struct command, list);
                if (!c)
                        break;
 
+               fflush(stdout);
                if (pipe(p) != 0)
                        err(1, "Pipe failed");
                c->pid = fork();