projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the malloc checking from module 'list' to new module 'xlist'.
[gnulib.git]
/
tests
/
test-mbsrchr.c
diff --git
a/tests/test-mbsrchr.c
b/tests/test-mbsrchr.c
index
483de8c
..
160148a
100644
(file)
--- a/
tests/test-mbsrchr.c
+++ b/
tests/test-mbsrchr.c
@@
-25,15
+25,15
@@
#include <stdlib.h>
#define ASSERT(expr) \
#include <stdlib.h>
#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__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
+ fflush (stderr);
\
+ abort ();
\
+ }
\
+ }
\
while (0)
int
while (0)
int