jaehyun pushed a commit to branch master.

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

commit e23a4521eaafbd279594791146dee895c1e4847a
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Wed Jan 11 14:47:28 2017 +0900

    Revert "edje_cc_parse: Fix to insert missing double quotation marks"
    
    This reverts commit 5ae6e1db2f7f181039b05cbb562573321f419a8e.
    
    On Windows, system() does not execute file if the argument of system()
    begins with double quotation marks.
    (e.g. system("\"C:\efl\lib/edje/utils/v-1.18/epp.exe\" ...");)
    
    To resolve this issue on Windows, it has been fixed to have the argument
    of system() not begin with double quotation marks.
    (i.e. Do not use double quotation marks for epp.exe path in system().)
---
 src/bin/edje/edje_cc_parse.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
index 87ad7ba..c30f598 100644
--- a/src/bin/edje/edje_cc_parse.c
+++ b/src/bin/edje/edje_cc_parse.c
@@ -1069,7 +1069,7 @@ compile(void)
 
              inc = ecore_file_dir_get(file_in);
              if (depfile)
-               snprintf(buf, sizeof(buf), "\"%s\" -MMD \"%s\" -MT \"%s\" 
\"%s\""
+               snprintf(buf, sizeof(buf), "%s -MMD \"%s\" -MT \"%s\" \"%s\""
                         " -I\"%s\" %s -o \"%s\""
                         " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d"
                         EDJE_CC_EFL_VERSION_SUPPORTED,
@@ -1077,7 +1077,7 @@ compile(void)
                         inc ? inc : "./", def, clean_file,
                         EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
              else if (annotate)
-               snprintf(buf, sizeof(buf), "\"%s\" -annotate -a \"%s\" \"%s\""
+               snprintf(buf, sizeof(buf), "%s -annotate -a \"%s\" \"%s\""
                         " -I\"%s\" %s -o \"%s\""
                         " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d"
                         EDJE_CC_EFL_VERSION_SUPPORTED,
@@ -1085,8 +1085,8 @@ compile(void)
                         inc ? inc : "./", def, clean_file,
                         EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
              else
-               snprintf(buf, sizeof(buf), "\"%s\" -a \"%s\" \"%s\" -I\"%s\""
-                        " %s -o \"%s\""
+               snprintf(buf, sizeof(buf), "%s -a \"%s\" \"%s\" -I\"%s\" %s"
+                        " -o \"%s\""
                         " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d"
                         EDJE_CC_EFL_VERSION_SUPPORTED,
                         buf2, watchfile ? watchfile : "/dev/null", file_in,

-- 


Reply via email to