From e220635fc952c63b533873f2af39ec76aed4b4e3 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 11 Apr 2008 16:31:39 +0200 Subject: Flush the standard error stream before aborting. --- tests/uniconv/test-u16-strconv-from-enc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/uniconv/test-u16-strconv-from-enc.c') diff --git a/tests/uniconv/test-u16-strconv-from-enc.c b/tests/uniconv/test-u16-strconv-from-enc.c index 340f3ada3f..f2f173a80a 100644 --- a/tests/uniconv/test-u16-strconv-from-enc.c +++ b/tests/uniconv/test-u16-strconv-from-enc.c @@ -1,5 +1,5 @@ /* Test of conversion to UTF-16 from legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ -- cgit v1.2.1