summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfsfileengine.cpp
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2009-08-21 15:26:53 +0200
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-21 15:27:28 +0200
commit1216161584b730576c24fb128131838be1826b37 (patch)
treece51a1310cf0617ac23da46c17ecec91bea48c02 /src/corelib/io/qfsfileengine.cpp
parentbf417fc0347467092dfd12a72ed8177524b473d4 (diff)
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine.cpp b/src/corelib/io/qfsfileengine.cpp
index 3d109d137c..1ca19cfc45 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