projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comment about SIGPIPE.
[gnulib.git]
/
tests
/
test-freopen.c
diff --git
a/tests/test-freopen.c
b/tests/test-freopen.c
index
624b8a5
..
55a665e
100644
(file)
--- a/
tests/test-freopen.c
+++ b/
tests/test-freopen.c
@@
-1,5
+1,5
@@
/* Test of opening a file stream.
/* Test of opening a file stream.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
-2008
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,6
+27,7
@@
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+ fflush (stderr); \
abort (); \
} \
} \
abort (); \
} \
} \