diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common/Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Utils.cpp b/lib/common/Utils.cpp index de392ef4..83a12ccf 100644 --- a/lib/common/Utils.cpp +++ b/lib/common/Utils.cpp @@ -98,7 +98,7 @@ void DumpStackBacktrace() bool FileExists(const char *Filename, int64_t *pFileSize, bool TreatLinksAsNotExisting) { struct stat st; - if(::stat(Filename, &st) != 0) + if(::lstat(Filename, &st) != 0) { if(errno == ENOENT) { |