raster pushed a commit to branch master.

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

commit f7c1ac94f7d154a08660e40b5c0e676d8bd7d8e7
Author: Ivan Furs <i.f...@samsung.com>
Date:   Mon Mar 6 17:38:13 2017 +0900

    eet_lib: changed unlink to eina_file_unlink
    
    Summary: changed unlink to eina_file_unlink
    
    Reviewers: cedric, raster, an.kroitor, rimmed, FurryMyad, NikaWhite, vtorri
    
    Subscribers: artem.popov, cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D4698
---
 src/lib/eet/eet_lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 2930b0f..9d491f6 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -338,7 +338,7 @@ eet_flush2(Eet_File *ef)
         int fd;
 
         /* opening for write - delete old copy of file right away */
-        unlink(ef->path);
+        eina_file_unlink(ef->path);
         fd = open(ef->path, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, S_IRUSR | 
S_IWUSR);
         if (fd < 0)
           {

-- 


Reply via email to