furrymyad pushed a commit to branch efl-1.16.

http://git.enlightenment.org/core/efl.git/commit/?id=dca4172a56bd8a00c22bd4f5a346e68c81977b89

commit dca4172a56bd8a00c22bd4f5a346e68c81977b89
Author: Vincent Torri <vincent dot torri at gmail dot com>
Date:   Thu Dec 3 10:52:56 2015 +0100

    efl: add binary mode to fdopen() calls
    
    This allows better compatibility with Windows
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/lib/edje/edje_edit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 84fd07b..a9ec942 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -10152,7 +10152,7 @@ _edje_edit_embryo_rebuild(Edje_Edit *eed)
    if (fd < 0)
      return EINA_FALSE;  /* FIXME: report something */
 
-   f = fdopen(fd, "w");
+   f = fdopen(fd, "wb");
    if (!f)
      {
         close(fd);

-- 


Reply via email to