summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2011-07-19 13:23:00 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2011-07-19 13:35:18 (GMT)
commit70a434dc1c24f306805900b5ad7a45c7272702c6 (patch)
tree9939be539c1a670e773e5537650d6e9f65b9f745 /src/corelib
parent3b016c33152d50bc6a41b7427036454167d72bf0 (diff)
downloadQt-70a434dc1c24f306805900b5ad7a45c7272702c6.zip
Qt-70a434dc1c24f306805900b5ad7a45c7272702c6.tar.gz
Qt-70a434dc1c24f306805900b5ad7a45c7272702c6.tar.bz2
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. Reviewed-by: Thomas Hartmann Task-number: QTBUG-20431
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfilesystemmetadata_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystemmetadata_p.h b/src/corelib/io/qfilesystemmetadata_p.h
index c961101..de5b003 100644
--- a/src/corelib/io/qfilesystemmetadata_p.h
+++ b/src/corelib/io/qfilesystemmetadata_p.h
@@ -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