From 1c63798e1d04d7926e9ee4cc66c401f7f6d36b37 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 3 May 2004 17:31:22 +0000 Subject: [PATCH] 2004-05-03 Artem B. Bityuckiy * testsuite/include/check.h (CHECK): Add flush of stdout. --- newlib/ChangeLog | 4 ++++ newlib/testsuite/include/check.h | 1 + 2 files changed, 5 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b9a55a4f2..ff1e84407 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2004-05-03 Artem B. Bityuckiy + + * testsuite/include/check.h (CHECK): Add flush of stdout. + 2004-05-03 Artem B. Bityuckiy * libc/include/stdio.h (_ungetc_r): New prototype. diff --git a/newlib/testsuite/include/check.h b/newlib/testsuite/include/check.h index df7f0cfa2..0072771e6 100644 --- a/newlib/testsuite/include/check.h +++ b/newlib/testsuite/include/check.h @@ -2,6 +2,7 @@ if (!(a)) \ { \ printf ("Failed " #a " in <%s> at line %d\n", __FILE__, __LINE__); \ + fflush(stdout); \ abort(); \ } \ }