comparison tests/test-vsprintf-posix.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 21157f1c35b7
children 849e7305914c
comparison
equal deleted inserted replaced
9888:4552418ad371 9889:0be6f1ab456d
33 do \ 33 do \
34 { \ 34 { \
35 if (!(expr)) \ 35 if (!(expr)) \
36 { \ 36 { \
37 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ 37 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
38 fflush (stderr); \
38 abort (); \ 39 abort (); \
39 } \ 40 } \
40 } \ 41 } \
41 while (0) 42 while (0)
42 43