summaryrefslogtreecommitdiffstats
path: root/redhat/qt3/qt-x11-free-3.3.7-umask.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-02-16 19:43:47 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-02-16 19:43:47 +0100
commit5c0bbe731541c633c114f2f31fb38a68b370e18f (patch)
tree4e0b0fadb73869604ad521cc7b4cd83c635e247f /redhat/qt3/qt-x11-free-3.3.7-umask.patch
parent4a3f0ef6b92d4a30e310be5912896ca9bfd0f3c5 (diff)
downloadtde-packaging-5c0bbe731541c633c114f2f31fb38a68b370e18f.tar.gz
tde-packaging-5c0bbe731541c633c114f2f31fb38a68b370e18f.zip
[RHEL/Fedora] Moves qt3 and tqt3 to the correct location
Diffstat (limited to 'redhat/qt3/qt-x11-free-3.3.7-umask.patch')
-rw-r--r--redhat/qt3/qt-x11-free-3.3.7-umask.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/redhat/qt3/qt-x11-free-3.3.7-umask.patch b/redhat/qt3/qt-x11-free-3.3.7-umask.patch
deleted file mode 100644
index f2351909f..000000000
--- a/redhat/qt3/qt-x11-free-3.3.7-umask.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- 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",