comparison tests/test-freadseek.c @ 9889:0be6f1ab456d

Flush the standard error stream before aborting.
author Bruno Haible <bruno@clisp.org>
date Fri, 11 Apr 2008 16:31:39 +0200
parents 8b28ae918b51
children 2bd541cd96ac
comparison
equal deleted inserted replaced
9888:4552418ad371 9889:0be6f1ab456d
29 do \ 29 do \
30 { \ 30 { \
31 if (!(expr)) \ 31 if (!(expr)) \
32 { \ 32 { \
33 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ 33 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
34 fflush (stderr); \
34 abort (); \ 35 abort (); \
35 } \ 36 } \
36 } \ 37 } \
37 while (0) 38 while (0)
38 39