fix QFileInfo::isSymLink() for NTFS mount points
Mount points are no symlinks. Period. This was a regression to 4.7 which broke building Qt in a mount point. Change-Id: Ib36688d7d394bbb7ab52629f8273c7fe4c0d7be8 Reviewed-by: Thomas Hartmann Task-number: QTBUG-20431 Reviewed-on: http://codereview.qt.nokia.com/1830 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
parent
55d68a16aa
commit
9a7a18f83a
@ -369,8 +369,7 @@ inline void QFileSystemMetaData::fillFromFindData(WIN32_FIND_DATA &findData, boo
|
||||
entryFlags &= ~LinkType;
|
||||
#if !defined(Q_OS_WINCE)
|
||||
if ((fileAttribute_ & FILE_ATTRIBUTE_REPARSE_POINT)
|
||||
&& (findData.dwReserved0 == IO_REPARSE_TAG_SYMLINK
|
||||
|| findData.dwReserved0 == IO_REPARSE_TAG_MOUNT_POINT)) {
|
||||
&& (findData.dwReserved0 == IO_REPARSE_TAG_SYMLINK)) {
|
||||
entryFlags |= LinkType;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user