diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2012-01-18 13:08:14 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-18 17:07:00 (GMT) |
commit | ba7a19727c42047048f16f155ce10c51c90fa1bc (patch) | |
tree | 1b088480022092e74d1bfbfce0fb700dbdb85d3a /src/corelib | |
parent | 25960ef75f7dd9bf78fae37177ab2cdbd825af9b (diff) | |
download | Qt-ba7a19727c42047048f16f155ce10c51c90fa1bc.zip Qt-ba7a19727c42047048f16f155ce10c51c90fa1bc.tar.gz Qt-ba7a19727c42047048f16f155ce10c51c90fa1bc.tar.bz2 |
remove NTFS junction and mount point detection
Qt now treats neither NTFS junctions nor mount points as symlinks.
Task-number: QTBUG-20431
Change-Id: Id9bd17f8b93afe9aeb307358ddad5726913961f3
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qfilesystemmetadata_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystemmetadata_p.h b/src/corelib/io/qfilesystemmetadata_p.h index 7ee080e..27a091a 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 |