summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorIvan Furs <i.furs@samsung.com>2017-03-06 17:38:13 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-03-06 18:02:11 +0900
commitf7c1ac94f7d154a08660e40b5c0e676d8bd7d8e7 (patch)
tree299eac3d8d5d8970acbfb67cb5b793f89e32d04c /src/lib/eet
parent1bfce47bf338428b71393722930d4e948ee19ad0 (diff)
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
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 2930b0f1ed..9d491f6c2c 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -338,7 +338,7 @@ eet_flush2(Eet_File *ef)
338 int fd; 338 int fd;
339 339
340 /* opening for write - delete old copy of file right away */ 340 /* opening for write - delete old copy of file right away */
341 unlink(ef->path); 341 eina_file_unlink(ef->path);
342 fd = open(ef->path, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR); 342 fd = open(ef->path, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR);
343 if (fd < 0) 343 if (fd < 0)
344 { 344 {