Mercurial > hg > octave-lojdl > gnulib-hg
comparison tests/test-frexpl.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 | 6c7dda791c34 |
children | 3826b3abb5d0 |
comparison
equal
deleted
inserted
replaced
9888:4552418ad371 | 9889:0be6f1ab456d |
---|---|
35 do \ | 35 do \ |
36 { \ | 36 { \ |
37 if (!(expr)) \ | 37 if (!(expr)) \ |
38 { \ | 38 { \ |
39 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ | 39 fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ |
40 fflush (stderr); \ | |
40 abort (); \ | 41 abort (); \ |
41 } \ | 42 } \ |
42 } \ | 43 } \ |
43 while (0) | 44 while (0) |
44 | 45 |