forked from enlightenment/efl
Ecore_file: on Windows, fix errno value when dst exists.
Summary: This also fixes the saving of elementary_config file Test Plan: execution of elementary_config Reviewers: jptiz, raster Reviewed By: raster Subscribers: johnny1337, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12165
This commit is contained in:
parent
ac6528c9ec
commit
86b5ea5af8
|
@ -514,7 +514,7 @@ ecore_file_mv(const char *src, const char *dst)
|
|||
}
|
||||
}
|
||||
#ifdef _WIN32
|
||||
if (errno == EEXIST)
|
||||
if (errno == ENOENT)
|
||||
{
|
||||
struct _stat s;
|
||||
_stat(dst, &s);
|
||||
|
|
Loading…
Reference in New Issue