projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New module attribute 'Applicability'.
[gnulib.git]
/
tests
/
test-vsnprintf-posix.c
diff --git
a/tests/test-vsnprintf-posix.c
b/tests/test-vsnprintf-posix.c
index
841a1ec
..
7e152c2
100644
(file)
--- a/
tests/test-vsnprintf-posix.c
+++ b/
tests/test-vsnprintf-posix.c
@@
-23,21
+23,21
@@
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
-#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
+ do
\
+ {
\
+ if (!(expr))
\
+ {
\
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- abort (); \
- } \
- } \
+ fflush (stderr); \
+ abort (); \
+ } \
+ } \
while (0)
#include "test-snprintf-posix.h"
while (0)
#include "test-snprintf-posix.h"