aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_file
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2016-11-23 16:06:43 +0200
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2016-11-23 16:20:06 +0200
commitdc18e7190355c933dfb1c2e25d405489566114ef (patch)
tree6d3e228a42b12c30649f365df25e7f8ab7a55da4 /src/lib/ecore_file
parentecore_file: use win api for delete folder (diff)
downloadefl-dc18e7190355c933dfb1c2e25d405489566114ef.tar.gz
ecore_file: get stat from correct file
Diffstat (limited to 'src/lib/ecore_file')
-rw-r--r--src/lib/ecore_file/ecore_file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c
index 1b8b10a2d8..f2b5de172a 100644
--- a/src/lib/ecore_file/ecore_file.c
+++ b/src/lib/ecore_file/ecore_file.c
@@ -331,7 +331,8 @@ ecore_file_recursive_rm(const char *dir)
if (readlink(dir, buf, sizeof(buf) - 1) > 0)
return ecore_file_unlink(dir);
- if (!_ecore_file_stat(buf, NULL, NULL, NULL, &is_dir, NULL))
+
+ if (!_ecore_file_stat(dir, NULL, NULL, NULL, &is_dir, NULL))
return EINA_FALSE;
#else
if (lstat(dir, &st) == -1)