projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76aa21a
)
eolian should use "wb" for file opening to not break windows use
author
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 28 Mar 2014 20:39:52 +0000
(16:39 -0400)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 28 Mar 2014 20:39:52 +0000
(16:39 -0400)
src/bin/eolian/main.c
patch
|
blob
|
history
diff --git
a/src/bin/eolian/main.c
b/src/bin/eolian/main.c
index
8e09133
..
3a989fd
100644
(file)
--- a/
src/bin/eolian/main.c
+++ b/
src/bin/eolian/main.c
@@
-57,7
+57,7
@@
_generate_eo_h_file(char *filename, const char *classname)
const char *htext = eina_strbuf_string_get(hfile);
- FILE* fd = fopen(filename, "w");
+ FILE* fd = fopen(filename, "w
b
");
if (!fd)
{
const char *err = strerror(errno);
@@
-102,7
+102,7
@@
_generate_c_file(char *filename, const char *classname)
goto end;
}
- FILE* fd = fopen(filename, "w");
+ FILE* fd = fopen(filename, "w
b
");
if (!fd)
{
ERR("Couldnt open file %s for writing", filename);
@@
-137,7
+137,7
@@
_generate_legacy_header_file(char *filename, const char *classname)
goto end;
}
- FILE* fd = fopen(filename, "w");
+ FILE* fd = fopen(filename, "w
b
");
if (!fd)
{
ERR ("Couldnt open file %s for writing", filename);