done = write(fd, data, size);
if (done <= 0)
_exit(1);
- data += done;
+ data = (const char *)data + done;
size -= done;
}
}
int p[2];
int stdoutfd;
+ setbuf(stdout, 0);
printf("1..1\n");
- fflush(stdout);
stderrfd = dup(STDERR_FILENO);
if (stderrfd < 0)
err(1, "dup of stderr failed");