diff options
author | João Abecasis <joao@abecasis.name> | 2009-07-27 15:43:48 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-08-24 17:25:48 (GMT) |
commit | b4425cc1ad39879901247fd488825a3f6c30111a (patch) | |
tree | 7054c46330bfe7e877aede4bf75b0ad11db4ad55 /src/corelib/io | |
parent | 6d87a01f2d3108bbee5b9995f20edfc26a01cd57 (diff) | |
download | Qt-b4425cc1ad39879901247fd488825a3f6c30111a.zip Qt-b4425cc1ad39879901247fd488825a3f6c30111a.tar.gz Qt-b4425cc1ad39879901247fd488825a3f6c30111a.tar.bz2 |
Reset dangling handle after close on WinCE 5
Reviewed-by: Maurice Kalinowski
Diffstat (limited to 'src/corelib/io')
-rw-r--r-- | src/corelib/io/qfsfileengine_win.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qfsfileengine_win.cpp b/src/corelib/io/qfsfileengine_win.cpp index 2fc9670..a8de17b 100644 --- a/src/corelib/io/qfsfileengine_win.cpp +++ b/src/corelib/io/qfsfileengine_win.cpp @@ -458,6 +458,9 @@ bool QFSFileEnginePrivate::nativeClose() q->setError(QFile::UnspecifiedError, qt_error_string()); ok = false; } +#ifdef Q_USE_DEPRECATED_MAP_API + fileMapHandle = INVALID_HANDLE_VALUE; +#endif fileHandle = INVALID_HANDLE_VALUE; cachedFd = -1; // gets closed by CloseHandle above |