fix realpath

SVN revision: 28678
This commit is contained in:
Carsten Haitzler 2007-03-13 02:28:18 +00:00
parent 0be48d6eae
commit 66954e5331
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ ecore_file_realpath(const char *file)
char buf[PATH_MAX];
struct stat st;
if (!realpath(file, buf) || stat(buf, &st)) return strdup("");
if (!realpath(file, buf)) return strdup("");
return strdup(buf);
}