projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update-copyright: generalize comment handling
[gnulib.git]
/
tests
/
test-fflush2.c
diff --git
a/tests/test-fflush2.c
b/tests/test-fflush2.c
index
5ec1e55
..
a395c6d
100644
(file)
--- a/
tests/test-fflush2.c
+++ b/
tests/test-fflush2.c
@@
-20,6
+20,8
@@
#include <stdlib.h>
+#include "binary-io.h"
+
#define ASSERT(expr) \
do \
{ \
@@
-37,6
+39,10
@@
main (int argc, char **argv)
{
int c;
+ /* Avoid the well-known bugs of fflush() on streams in O_TEXT mode
+ on native Windows platforms. */
+ SET_BINARY (0);
+
if (argc > 1)
switch (argv[1][0])
{