From: David Schleef Date: Sun, 15 Jul 2001 22:47:58 +0000 (+0000) Subject: Make stdout unbuffered, so that if stderr==stdout, lines match up. X-Git-Tag: r0_7_16~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eceb3bccf84fa86738184dfed9e1ed3036f4f00a;p=comedilib.git Make stdout unbuffered, so that if stderr==stdout, lines match up. --- diff --git a/testing/main.c b/testing/main.c index 039bfc1..1494acf 100644 --- a/testing/main.c +++ b/testing/main.c @@ -79,6 +79,8 @@ int main(int argc, char *argv[]) int c; int i; + setvbuf(stdout,NULL,_IONBF,0); + while (1) { c = getopt(argc, argv, "f:rs:t:v"); if (c == -1)