diff options
author | Vyacheslav Reutskiy <v.reutskiy@samsung.com> | 2016-11-30 14:02:45 +0200 |
---|---|---|
committer | Vyacheslav Reutskiy <v.reutskiy@samsung.com> | 2016-11-30 14:03:00 +0200 |
commit | 67d228230a2f20ec78b4aa66a22a4827fe1931fb (patch) | |
tree | caffbdfb54f7bdad2a37a67814a4bd85fa5a0839 /src/lib/ecore_file/ecore_file.c | |
parent | 502f10880a82f8f48da6d307278aa04a1bc03078 (diff) |
Revert "ecore_file: use win api for delete folder"
It was mistake, rmdir work correct, problem was fixed in commit
56c202614b73f0e4c34d7a5cd070fe2b24d9217f
This reverts commit 5e25b8037ca8858412627d76b6fe72e9c7279021.
Diffstat (limited to 'src/lib/ecore_file/ecore_file.c')
-rw-r--r-- | src/lib/ecore_file/ecore_file.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index f2b5de172a..dd53db1db9 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c | |||
@@ -296,11 +296,7 @@ ecore_file_mksubdirs(const char *base, const char **subdirs) | |||
296 | EAPI Eina_Bool | 296 | EAPI Eina_Bool |
297 | ecore_file_rmdir(const char *dir) | 297 | ecore_file_rmdir(const char *dir) |
298 | { | 298 | { |
299 | #ifdef _WIN32 | ||
300 | if (RemoveDirectory(dir) < 0) return EINA_FALSE; | ||
301 | #else | ||
302 | if (rmdir(dir) < 0) return EINA_FALSE; | 299 | if (rmdir(dir) < 0) return EINA_FALSE; |
303 | #endif /* _WIN32 */ | ||
304 | return EINA_TRUE; | 300 | return EINA_TRUE; |
305 | } | 301 | } |
306 | 302 | ||