summaryrefslogtreecommitdiff
path: root/src/tests/elua
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-12-03 10:52:56 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-12-05 21:05:23 +0100
commit4f242fb48a5cf18b6e5ea6598681486abf791771 (patch)
tree046ab329439ee52df73ffefdf1657fb006b4a7c5 /src/tests/elua
parent3b44645363dcdd561edd9610a64f3d2c382753a9 (diff)
efl: add binary mode to fdopen() 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 aecc26a022..ef043bab63 100644
--- a/src/tests/elua/elua_lib.c
+++ b/src/tests/elua/elua_lib.c
@@ -98,7 +98,7 @@ START_TEST(elua_api)
98 98
99 fd = mkstemp(buf); 99 fd = mkstemp(buf);
100 fail_if(fd < 0); 100 fail_if(fd < 0);
101 f = fdopen(fd, "w"); 101 f = fdopen(fd, "wb");
102 fail_if(!f); 102 fail_if(!f);
103 fprintf(f, "return 5\n"); 103 fprintf(f, "return 5\n");
104 fclose(f); 104 fclose(f);