aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/tests/test-getline.c')
-rw-r--r--gnulib/tests/test-getline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnulib/tests/test-getline.c b/gnulib/tests/test-getline.c
index cdfefd909..51fc81686 100644
--- a/gnulib/tests/test-getline.c
+++ b/gnulib/tests/test-getline.c
@@ -1,5 +1,5 @@
/* Test of getline() 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 (); \
} \
} \