summaryrefslogtreecommitdiff
path: root/src/lib/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/lib/elua
parent3b44645363dcdd561edd9610a64f3d2c382753a9 (diff)
downloadefl-4f242fb48a5cf18b6e5ea6598681486abf791771.tar.gz
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/lib/elua')
-rw-r--r--src/lib/elua/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elua/cache.c b/src/lib/elua/cache.c
index 99d7b6a220..d03d9bfb94 100644
--- a/src/lib/elua/cache.c
+++ b/src/lib/elua/cache.c
@@ -80,7 +80,7 @@ bc_tmp_open(const char *fname, char *buf, size_t buflen)
#endif
if (fd < 0)
return NULL;
- return fdopen(fd, "w");
+ return fdopen(fd, "wb");
}
static void