From f8cee23def6aa65d0c7299021091a19cbc58f9e6 Mon Sep 17 00:00:00 2001 From: Nicholas Hughart Date: Mon, 1 Sep 2008 20:13:00 +0000 Subject: [PATCH] Remove this check. Any software that depended on this check should check before calling this function instead. SVN revision: 35781 --- legacy/ecore/src/lib/ecore_file/ecore_file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c index 10b9d581d4..1e828385a0 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file.c +++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c @@ -295,7 +295,6 @@ ecore_file_cp(const char *src, const char *dst) EAPI int ecore_file_mv(const char *src, const char *dst) { - if (ecore_file_exists(dst)) return 0; if (rename(src, dst)) { if (errno == EXDEV)