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
This commit is contained in:
Ivan Furs 2017-03-06 17:38:13 +09:00 committed by Carsten Haitzler (Rasterman)
parent 1bfce47bf3
commit f7c1ac94f7
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{