diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2009-08-21 13:26:53 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-21 13:27:28 (GMT) |
commit | 1216161584b730576c24fb128131838be1826b37 (patch) | |
tree | ce51a1310cf0617ac23da46c17ecec91bea48c02 /src/corelib/io/qfsfileengine.cpp | |
parent | bf417fc0347467092dfd12a72ed8177524b473d4 (diff) | |
download | Qt-1216161584b730576c24fb128131838be1826b37.zip Qt-1216161584b730576c24fb128131838be1826b37.tar.gz Qt-1216161584b730576c24fb128131838be1826b37.tar.bz2 |
NTFS symlink support for QFileInfo::isSymLink()
We will handle reparse points with IO_REPARSE_TAG_MOUNT_POINT
and IO_REPARSE_TAG_SYMLINK tag values only.
isSymlink() assumes doStat() was called early.
Merge-request: 1217
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
Diffstat (limited to 'src/corelib/io/qfsfileengine.cpp')
-rw-r--r-- | src/corelib/io/qfsfileengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine.cpp b/src/corelib/io/qfsfileengine.cpp index 3d109d1..1ca19cf 100644 --- a/src/corelib/io/qfsfileengine.cpp +++ b/src/corelib/io/qfsfileengine.cpp @@ -109,7 +109,7 @@ void QFSFileEnginePrivate::init() { is_sequential = 0; tried_stat = 0; -#ifdef Q_OS_UNIX +#if !defined(Q_OS_WINCE) need_lstat = 1; is_link = 0; #endif |