浏览代码

WORKAROUND tag for FileGetAttrFix

Source commit: 9ee4d70959a40c42ceb3a133801d269278d50a13
Martin Prikryl 7 年之前
父节点
当前提交
7dc86bfc83
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      source/core/Common.cpp

+ 1 - 0
source/core/Common.cpp

@@ -1402,6 +1402,7 @@ int __fastcall FileGetAttrFix(const UnicodeString FileName)
   // The default for FileGetAttr is to follow links
   // The default for FileGetAttr is to follow links
   bool FollowLink = true;
   bool FollowLink = true;
   // But the FileGetAttr whe called for link with FollowLink set will always fail
   // But the FileGetAttr whe called for link with FollowLink set will always fail
+  // WORKAROUND:
   // as its calls InternalGetFileNameFromSymLink, which test for CheckWin32Version(6, 0)
   // as its calls InternalGetFileNameFromSymLink, which test for CheckWin32Version(6, 0)
   if (!IsWinVista())
   if (!IsWinVista())
   {
   {