summaryrefslogtreecommitdiff
path: root/src/tests/eet/eet_suite.c
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-12-03 09:32:39 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-12-05 21:04:36 +0100
commit3b44645363dcdd561edd9610a64f3d2c382753a9 (patch)
tree64f6c4a580e563e79ca3f1867ae510025052fd64 /src/tests/eet/eet_suite.c
parentd2a7882b732b4cc3a8e7b11ec1c4336bdc2029bb (diff)
efl: add binary mode to f(re)open() calls
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/tests/eet/eet_suite.c')
-rw-r--r--src/tests/eet/eet_suite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eet/eet_suite.c b/src/tests/eet/eet_suite.c
index 9db0e9ce93..673294bbb9 100644
--- a/src/tests/eet/eet_suite.c
+++ b/src/tests/eet/eet_suite.c
@@ -1734,7 +1734,7 @@ START_TEST(eet_identity_simple)
1734 1734
1735 fail_if(-1 == (fd = mkstemp(file))); 1735 fail_if(-1 == (fd = mkstemp(file)));
1736 fail_if(!!close(fd)); 1736 fail_if(!!close(fd));
1737 fail_if(!(noread = fopen("/dev/null", "w"))); 1737 fail_if(!(noread = fopen("/dev/null", "wb")));
1738 1738
1739 /* Sign an eet file. */ 1739 /* Sign an eet file. */
1740 ef = eet_open(file, EET_FILE_MODE_WRITE); 1740 ef = eet_open(file, EET_FILE_MODE_WRITE);