From 97f324ad3ece45bb5c8c432c55bda64c2211bcfa Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 22 Mar 2016 08:21:44 +0100 Subject: [PATCH] Follow symlinks in Utility::GlobRecursive fixes #11347 --- lib/base/utility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp index b139ce7b0..2cf581fe0 100644 --- a/lib/base/utility.cpp +++ b/lib/base/utility.cpp @@ -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))