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:
parent
1bfce47bf3
commit
f7c1ac94f7
|
@ -338,7 +338,7 @@ eet_flush2(Eet_File *ef)
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
/* opening for write - delete old copy of file right away */
|
/* 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);
|
fd = open(ef->path, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue