forked from enlightenment/efl
Ecore_File: Fix readlink usage in ecore_file.
SVN revision: 76330
This commit is contained in:
parent
312066e91b
commit
849362bd06
|
@ -919,3 +919,7 @@
|
|||
2012-09-07 Christopher Michael
|
||||
|
||||
* Fix ecore_x_randr to actually return outputs properly.
|
||||
|
||||
2012-09-08 Vincent Torri
|
||||
|
||||
* Fix readlink usage in ecore_file.
|
||||
|
|
|
@ -404,7 +404,7 @@ ecore_file_recursive_rm(const char *dir)
|
|||
struct stat st;
|
||||
int ret;
|
||||
|
||||
if (readlink(dir, buf, sizeof(buf)) > 0)
|
||||
if (readlink(dir, buf, sizeof(buf) - 1) > 0)
|
||||
return ecore_file_unlink(dir);
|
||||
|
||||
ret = stat(dir, &st);
|
||||
|
|
Loading…
Reference in New Issue