diff options
author | Vyacheslav Reutskiy <v.reutskiy@samsung.com> | 2016-11-23 16:06:43 +0200 |
---|---|---|
committer | Vyacheslav Reutskiy <v.reutskiy@samsung.com> | 2016-11-23 16:20:06 +0200 |
commit | dc18e7190355c933dfb1c2e25d405489566114ef (patch) | |
tree | 6d3e228a42b12c30649f365df25e7f8ab7a55da4 /src/lib | |
parent | 5e25b8037ca8858412627d76b6fe72e9c7279021 (diff) |
ecore_file: get stat from correct file
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ecore_file/ecore_file.c | 3 |
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) | |||
331 | 331 | ||
332 | if (readlink(dir, buf, sizeof(buf) - 1) > 0) | 332 | if (readlink(dir, buf, sizeof(buf) - 1) > 0) |
333 | return ecore_file_unlink(dir); | 333 | return ecore_file_unlink(dir); |
334 | if (!_ecore_file_stat(buf, NULL, NULL, NULL, &is_dir, NULL)) | 334 | |
335 | if (!_ecore_file_stat(dir, NULL, NULL, NULL, &is_dir, NULL)) | ||
335 | return EINA_FALSE; | 336 | return EINA_FALSE; |
336 | #else | 337 | #else |
337 | if (lstat(dir, &st) == -1) | 338 | if (lstat(dir, &st) == -1) |