Explorar o código

Use lstat rather than link following stat.

This fixes https://github.com/owncloud/core/issues/6146
Klaas Freitag %!s(int64=12) %!d(string=hai) anos
pai
achega
243279aa3f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/std/c_private.h

+ 1 - 1
src/std/c_private.h

@@ -119,7 +119,7 @@ typedef char           mbchar_t;
 #define _ttelldir      telldir
 #define _tseekdir      seekdir
 #define _tcreat        creat
-#define _tstat         stat
+#define _tstat         lstat
 #define _tfstat        fstat
 #define _tunlink       unlink
 #define _tmkdir(X,Y)   mkdir(X,Y)