diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-04-22 15:30:51 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-02 11:29:35 (GMT) |
commit | 29302d2429ed81f4396155383b602e7bde4edd3b (patch) | |
tree | 434cccb049b37e0659fbc8d312bed3eaa9fc943d /src/corelib/io/qresource.cpp | |
parent | c5f83fbd89d6bb950fb012c285879f6c88b5bdf3 (diff) | |
download | Qt-29302d2429ed81f4396155383b602e7bde4edd3b.zip Qt-29302d2429ed81f4396155383b602e7bde4edd3b.tar.gz Qt-29302d2429ed81f4396155383b602e7bde4edd3b.tar.bz2 |
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.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/io/qresource.cpp b/src/corelib/io/qresource.cpp index fe8764d..a70b92f 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 |