summaryrefslogtreecommitdiff
path: root/src/tests/elua
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/elua
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/elua')
-rw-r--r--src/tests/elua/elua_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/elua/elua_lib.c b/src/tests/elua/elua_lib.c
index 43df108113..aecc26a022 100644
--- a/src/tests/elua/elua_lib.c
+++ b/src/tests/elua/elua_lib.c
@@ -116,7 +116,7 @@ START_TEST(elua_api)
116 fail_if(!elua_util_script_run(st, 2, cargv, 1, &quit)); 116 fail_if(!elua_util_script_run(st, 2, cargv, 1, &quit));
117 fail_if(quit != 1); 117 fail_if(quit != 1);
118 118
119 f = fopen(buf, "w"); 119 f = fopen(buf, "wb");
120 fail_if(!f); 120 fail_if(!f);
121 fprintf(f, "return false"); 121 fprintf(f, "return false");
122 fclose(f); 122 fclose(f);