aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/tests/test-snprintf.c')
-rw-r--r--gnulib/tests/test-snprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnulib/tests/test-snprintf.c b/gnulib/tests/test-snprintf.c
index eaac5329a..790c99964 100644
--- a/gnulib/tests/test-snprintf.c
+++ b/gnulib/tests/test-snprintf.c
@@ -1,5 +1,5 @@
/* Test of snprintf() function.
- 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
@@ -29,6 +29,7 @@
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+ fflush (stderr); \
abort (); \
} \
} \