rpms/qt/FC-6 qt-x11-free-3.3.7-umask.patch, NONE, 1.1 qt.spec, 1.124, 1.125
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Nov 9 20:22:10 UTC 2006
- Previous message (by thread): rpms/qt/devel qt-x11-free-3.3.7-umask.patch, NONE, 1.1 qt.spec, 1.125, 1.126
- Next message (by thread): rpms/dhcp/devel dhcp-3.0.5-fix-warnings.patch, NONE, 1.1 dhcp-3.0.5-libdhcp4client.patch, NONE, 1.1 dhcp-3.0.5-mkdep.patch, NONE, 1.1 dhcp-3.0.5-timeouts.patch, NONE, 1.1 dhcp.spec, 1.120, 1.121 libdhcp4client.pc, 1.2, 1.3 dhcp-3.0.4-lib-makefile.patch, 1.2, NONE dhcp-3.0.4-libdhcp4client.patch, 1.6, NONE dhcp-3.0.4-timeouts.patch, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: than
Update of /cvs/dist/rpms/qt/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv31942
Modified Files:
qt.spec
Added Files:
qt-x11-free-3.3.7-umask.patch
Log Message:
fix #189012, qt settings should be readable for other
qt-x11-free-3.3.7-umask.patch:
qsettings.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
--- NEW FILE qt-x11-free-3.3.7-umask.patch ---
--- qt-x11-free-3.3.7/src/tools/qsettings.cpp.tn 2006-11-09 20:53:25.000000000 +0100
+++ qt-x11-free-3.3.7/src/tools/qsettings.cpp 2006-11-09 20:59:53.000000000 +0100
@@ -994,7 +994,10 @@
#endif
QFile file( filename + ".tmp" );
- if (! file.open(IO_WriteOnly)) {
+ mode_t old_umask = umask(0022);
+ bool f = file.open(IO_WriteOnly);
+ umask(old_umask);
+ if (! f) {
#ifdef QT_CHECK_STATE
qWarning("QSettings::sync: failed to open '%s' for writing",
Index: qt.spec
===================================================================
RCS file: /cvs/dist/rpms/qt/FC-6/qt.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- qt.spec 23 Oct 2006 19:33:52 -0000 1.124
+++ qt.spec 9 Nov 2006 20:22:08 -0000 1.125
@@ -1,7 +1,7 @@
Summary: The shared library for the Qt GUI toolkit.
Name: qt
Version: 3.3.7
-Release: 0.1.fc6
+Release: 0.2%{?dist}
Epoch: 1
License: GPL/QPL
Group: System Environment/Libraries
@@ -18,6 +18,7 @@
Patch1: qt-3.3.4-print-CJK.patch
Patch2: qt-3.0.5-nodebug.patch
Patch3: qt-3.1.0-makefile.patch
+Patch4: qt-x11-free-3.3.7-umask.patch
Patch5: qt-x11-free-3.3.6-strip.patch
Patch7: qt-x11-free-3.3.2-quiet.patch
Patch8: qt-x11-free-3.3.3-qembed.patch
@@ -234,6 +235,7 @@
%patch1 -p1 -b .cjk
%patch2 -p1 -b .ndebug
%patch3 -p1 -b .makefile
+%patch4 -p1 -b .umask
%patch5 -p1
%patch7 -p1 -b .quiet
%patch8 -p1 -b .qembed
@@ -529,6 +531,9 @@
%changelog
+* Thu Nov 09 2006 Than Ngo <than at redhat.com> 1:3.3.7-0.2.fc6
+- fix #189012, qt settings should be readable for other
+
* Mon Oct 23 2006 Than Ngo <than at redhat.com> 1:3.3.7-0.1.fc6
- update to 3.3.7
- fix #209097, ml_IN font rendering
- Previous message (by thread): rpms/qt/devel qt-x11-free-3.3.7-umask.patch, NONE, 1.1 qt.spec, 1.125, 1.126
- Next message (by thread): rpms/dhcp/devel dhcp-3.0.5-fix-warnings.patch, NONE, 1.1 dhcp-3.0.5-libdhcp4client.patch, NONE, 1.1 dhcp-3.0.5-mkdep.patch, NONE, 1.1 dhcp-3.0.5-timeouts.patch, NONE, 1.1 dhcp.spec, 1.120, 1.121 libdhcp4client.pc, 1.2, 1.3 dhcp-3.0.4-lib-makefile.patch, 1.2, NONE dhcp-3.0.4-libdhcp4client.patch, 1.6, NONE dhcp-3.0.4-timeouts.patch, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list