summaryrefslogtreecommitdiff
path: root/src/bin/efl
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/bin/efl
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/bin/efl')
-rw-r--r--src/bin/efl/efl_debugd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/efl/efl_debugd.c b/src/bin/efl/efl_debugd.c
index a1025fbb4e..a07fe3fcee 100644
--- a/src/bin/efl/efl_debugd.c
+++ b/src/bin/efl/efl_debugd.c
@@ -129,7 +129,7 @@ _do(Client *c, char *op, unsigned char *d, int size)
129 c2->evlog_fetch_timer = ecore_timer_add(0.2, _cb_evlog, c2); 129 c2->evlog_fetch_timer = ecore_timer_add(0.2, _cb_evlog, c2);
130 snprintf(buf, sizeof(buf), "%s/efl_debug_evlog-%ld.log", 130 snprintf(buf, sizeof(buf), "%s/efl_debug_evlog-%ld.log",
131 getenv("HOME"), (long)c2->pid); 131 getenv("HOME"), (long)c2->pid);
132 c2->evlog_file = fopen(buf, "w"); 132 c2->evlog_file = fopen(buf, "wb");
133 } 133 }
134 } 134 }
135 } 135 }