stefan pushed a commit to branch master.

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

commit 22b45f220c994f5b6e6ee2620ad8a5ab1e0528c2
Author: Vincent Torri <vincent dot torri at gmail dot com>
Date:   Mon Oct 26 12:40:49 2015 +0100

    Eina: Fix 58b194e0ad56fe83cce3946a5deb0045ee0cbce2
    
    Fixes the windows build as it has a matching implementation for 
eina_file_cleanup.
    
    Fixes T2804
---
 src/lib/eina/eina_file_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 4dee3c7..5451081 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -359,7 +359,7 @@ eina_file_path_sanitize(const char *path)
    else
      result = path;
 
-   r = _eina_file_escape(strdup(result ? result : ""), len);
+   r = _eina_file_escape(eina_file_cleanup(result), len);
    if (result != path) eina_tmpstr_del(result);
 
    return r;

-- 


Reply via email to