summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edje/edje_edit.c2
-rw-r--r--src/lib/elua/cache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index f714fc3a3f..f4f282a83a 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -10156,7 +10156,7 @@ _edje_edit_embryo_rebuild(Edje_Edit *eed)
10156 if (fd < 0) 10156 if (fd < 0)
10157 return EINA_FALSE; /* FIXME: report something */ 10157 return EINA_FALSE; /* FIXME: report something */
10158 10158
10159 f = fdopen(fd, "w"); 10159 f = fdopen(fd, "wb");
10160 if (!f) 10160 if (!f)
10161 { 10161 {
10162 close(fd); 10162 close(fd);
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)
80#endif 80#endif
81 if (fd < 0) 81 if (fd < 0)
82 return NULL; 82 return NULL;
83 return fdopen(fd, "w"); 83 return fdopen(fd, "wb");
84} 84}
85 85
86static void 86static void