Follow symlinks in Utility::GlobRecursive

fixes #11347
This commit is contained in:
Gunnar Beutner 2016-03-22 08:21:44 +01:00 committed by Gunnar Beutner
parent f151e1ae9e
commit 97f324ad3e
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ bool Utility::GlobRecursive(const String& path, const String& pattern, const boo
struct stat statbuf;
if (lstat(cpath.CStr(), &statbuf) < 0)
if (stat(cpath.CStr(), &statbuf) < 0)
continue;
if (S_ISDIR(statbuf.st_mode))