Mercurial > hg > octave-lojdl > gnulib-hg
comparison tests/test-strcasestr.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 |
---|---|
28 do \ | 28 do \ |
29 { \ | 29 { \ |
30 if (!(expr)) \ | 30 if (!(expr)) \ |
31 { \ | 31 { \ |
32 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ | 32 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ |
33 fflush (stderr); \ | |
33 abort (); \ | 34 abort (); \ |
34 } \ | 35 } \ |
35 } \ | 36 } \ |
36 while (0) | 37 while (0) |
37 | 38 |