diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2009-08-21 15:26:53 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-21 15:27:28 +0200 |
commit | 1216161584b730576c24fb128131838be1826b37 (patch) | |
tree | ce51a1310cf0617ac23da46c17ecec91bea48c02 /src/corelib/io/qfsfileengine_p.h | |
parent | bf417fc0347467092dfd12a72ed8177524b473d4 (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_p.h')
-rw-r--r-- | src/corelib/io/qfsfileengine_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine_p.h b/src/corelib/io/qfsfileengine_p.h index 15cbf5cb3b..3c1e7e0432 100644 --- a/src/corelib/io/qfsfileengine_p.h +++ b/src/corelib/io/qfsfileengine_p.h @@ -137,10 +137,11 @@ public: mutable uint is_sequential : 2; mutable uint could_stat : 1; mutable uint tried_stat : 1; -#ifdef Q_OS_UNIX +#if !defined(Q_OS_WINCE) mutable uint need_lstat : 1; mutable uint is_link : 1; #endif + bool doStat() const; bool isSymlink() const; |