[qt] Qt doesn't close orphaned file descriptors after printing (#746601, QTBUG-14724)
Rex Dieter
rdieter at fedoraproject.org
Mon Oct 17 16:01:18 UTC 2011
commit d1296a4d3a6c8469f1a646543d3601de798c38c0
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Mon Oct 17 11:01:11 2011 -0500
Qt doesn't close orphaned file descriptors after printing (#746601, QTBUG-14724)
...erywhere-opensource-src-4.8.0-QTBUG-14724.patch | 11 +++++++++++
qt.spec | 9 ++++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch b/qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch
new file mode 100644
index 0000000..3672ca7
--- /dev/null
+++ b/qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch
@@ -0,0 +1,11 @@
+diff -up qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp.QTBUG-14724 qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp
+--- qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp.QTBUG-14724 2011-10-03 22:44:31.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.0/src/gui/painting/qpdf.cpp 2011-10-17 10:55:49.713265396 -0500
+@@ -1686,6 +1686,7 @@ bool QPdfBaseEnginePrivate::openPrintDev
+ cupsTempFile = ret.second;
+ outDevice = new QFile();
+ static_cast<QFile *>(outDevice)->open(ret.first, QIODevice::WriteOnly);
++ fd = ret.first;
+ #endif
+ #ifndef QT_NO_LPR
+ } else {
diff --git a/qt.spec b/qt.spec
index 0e01b24..f65f5a8 100644
--- a/qt.spec
+++ b/qt.spec
@@ -11,7 +11,7 @@ Summary: Qt toolkit
Name: qt
Epoch: 1
Version: 4.8.0
-Release: 0.15.rc1%{?dist}
+Release: 0.16.rc1%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
@@ -79,6 +79,9 @@ Patch68: webkit-qtwebkit-2.2-no_Werror.patch
# revert qlist.h commit that seems to induce crashes in qDeleteAll<QList (QTBUG-22037)
Patch69: qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch
+# Qt doesn't close orphaned file descriptors after printing (#746601, QTBUG-14724)
+Patch70: qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch
+
# upstream patches
# security patches
@@ -396,6 +399,7 @@ pushd src/3rdparty/webkit
%patch68 -p1 -b .no_Werror
popd
%patch69 -p1 -b .QTBUG-22037
+%patch70 -p1 -b .QTBUG-14724
# upstream patches
@@ -1028,6 +1032,9 @@ fi
%changelog
+* Mon Oct 17 2011 Rex Dieter <rdieter at fedoraproject.org> 4.8.0-0.16.rc1
+- Qt doesn't close orphaned file descriptors after printing (#746601, QTBUG-14724)
+
* Sat Oct 15 2011 Rex Dieter <rdieter at fedoraproject.org> 4.8.0-0.15.rc1
- revert qlist.h commit that seems to induce crashes in qDeleteAll<QList... (QTBUG-22037)
More information about the scm-commits
mailing list