hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=9b83fe29b89ab35ad4cd287a7f8c4db47e7ed238

commit 9b83fe29b89ab35ad4cd287a7f8c4db47e7ed238
Author: Jaehyun Cho <[email protected]>
Date:   Mon Sep 22 10:23:35 2014 +0900

    confic_data: Fix T1662 to always save edj file in /tmp/
    
    Summary: Fix T1662 to always save edj file in /tmp/
    
    Reviewers: Hermet
    
    Maniphest Tasks: T1662
    
    Differential Revision: https://phab.enlightenment.org/D1462
---
 src/bin/config_data.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/config_data.c b/src/bin/config_data.c
index f5b7d79..459e908 100644
--- a/src/bin/config_data.c
+++ b/src/bin/config_data.c
@@ -49,9 +49,7 @@ config_edj_path_update(config_data *cd)
      snprintf(buf, (ext - file) + 1, "%s", file);
    else
      strncpy(buf, file, sizeof(buf) - 1);
-   char *filedir = ecore_file_dir_get(cd->edc_path);
-   sprintf(edj_path, "%s/%s.edj", filedir, buf);
-   free(filedir);
+   sprintf(edj_path, "/tmp/%s.edj", buf);
 
    eina_stringshare_replace(&cd->edj_path, edj_path);
 }

-- 


Reply via email to