efl: add binary mode to fdopen() calls 21/82021/2
authorVincent Torri <vincent dot torri at gmail dot com>
Thu, 3 Dec 2015 09:52:56 +0000 (10:52 +0100)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Wed, 3 Aug 2016 09:07:55 +0000 (02:07 -0700)
This allows better compatibility with Windows

Change-Id: I7f96f051c85dbe37a1393982a75d9f22a64ba224
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/edje/edje_edit.c

index 2d39b2f..9a913c6 100644 (file)
@@ -10163,7 +10163,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);