Parcourir la source

Use lstat rather than link following stat.

This fixes https://github.com/owncloud/core/issues/6146
Klaas Freitag il y a 12 ans
Parent
commit
243279aa3f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)