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-argmatch.c
diff --git
a/tests/test-argmatch.c
b/tests/test-argmatch.c
index
363033f
..
c7f157f
100644
(file)
--- a/
tests/test-argmatch.c
+++ b/
tests/test-argmatch.c
@@
-1,5
+1,5
@@
/* Test of exact or abbreviated match search.
/* Test of exact or abbreviated match search.
- Copyright (C) 1990, 1998-1999, 2001-200
7
Free Software Foundation, Inc.
+ Copyright (C) 1990, 1998-1999, 2001-200
8
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-27,14
+27,15
@@
#include "progname.h"
#define ASSERT(expr) \
#include "progname.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__); \
- abort (); \
- } \
- } \
+ fflush (stderr); \
+ abort (); \
+ } \
+ } \
while (0)
/* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in <config.h>, and
while (0)
/* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in <config.h>, and