comparison tests/test-memmem.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 daf5ba9fe2d9
children 0553e4d56bcc
comparison
equal deleted inserted replaced
9888:4552418ad371 9889:0be6f1ab456d
27 do \ 27 do \
28 { \ 28 { \
29 if (!(expr)) \ 29 if (!(expr)) \
30 { \ 30 { \
31 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ 31 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
32 fflush (stderr); \
32 abort (); \ 33 abort (); \
33 } \ 34 } \
34 } \ 35 } \
35 while (0) 36 while (0)
36 37