Qt doesn't close orphaned file descriptors after printing (#746601, QTBUG-14724)
This commit is contained in:
parent
0f42336250
commit
d1296a4d3a
11
qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch
Normal file
11
qt-everywhere-opensource-src-4.8.0-QTBUG-14724.patch
Normal file
@ -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 {
|
9
qt.spec
9
qt.spec
@ -11,7 +11,7 @@ Summary: Qt toolkit
|
|||||||
Name: qt
|
Name: qt
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 4.8.0
|
Version: 4.8.0
|
||||||
Release: 0.15.rc1%{?dist}
|
Release: 0.16.rc1%{?dist}
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
# 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
|
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)
|
# 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
|
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
|
# upstream patches
|
||||||
|
|
||||||
# security patches
|
# security patches
|
||||||
@ -396,6 +399,7 @@ pushd src/3rdparty/webkit
|
|||||||
%patch68 -p1 -b .no_Werror
|
%patch68 -p1 -b .no_Werror
|
||||||
popd
|
popd
|
||||||
%patch69 -p1 -b .QTBUG-22037
|
%patch69 -p1 -b .QTBUG-22037
|
||||||
|
%patch70 -p1 -b .QTBUG-14724
|
||||||
|
|
||||||
# upstream patches
|
# upstream patches
|
||||||
|
|
||||||
@ -1028,6 +1032,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 17 2011 Rex Dieter <rdieter@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@fedoraproject.org> 4.8.0-0.15.rc1
|
* Sat Oct 15 2011 Rex Dieter <rdieter@fedoraproject.org> 4.8.0-0.15.rc1
|
||||||
- revert qlist.h commit that seems to induce crashes in qDeleteAll<QList... (QTBUG-22037)
|
- revert qlist.h commit that seems to induce crashes in qDeleteAll<QList... (QTBUG-22037)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user