summaryrefslogtreecommitdiff
path: root/src/corelib/io/qresource.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-04-22 17:30:51 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-02 13:29:35 +0200
commit29302d2429ed81f4396155383b602e7bde4edd3b (patch)
tree434cccb049b37e0659fbc8d312bed3eaa9fc943d /src/corelib/io/qresource.cpp
parentc5f83fbd89d6bb950fb012c285879f6c88b5bdf3 (diff)
downloadqt4-tools-29302d2429ed81f4396155383b602e7bde4edd3b.tar.gz
Port most uses of ::open and QT_OPEN to the safe version.
This ensures that we're calling the open64 version of this function as well as handling the O_CLOEXEC flag and EINTR errors. Reviewed-By: João Abecasis
Diffstat (limited to 'src/corelib/io/qresource.cpp')
-rw-r--r--src/corelib/io/qresource.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/io/qresource.cpp b/src/corelib/io/qresource.cpp
index fe8764d9de..a70b92fb1c 100644
--- a/src/corelib/io/qresource.cpp
+++ b/src/corelib/io/qresource.cpp
@@ -56,6 +56,10 @@
#include <qplatformdefs.h>
#include "private/qabstractfileengine_p.h"
+#ifdef Q_OS_UNIX
+# include "private/qcore_unix_p.h"
+#endif
+
//#define DEBUG_RESOURCE_MATCH
QT_BEGIN_NAMESPACE