diff options
author | François Andriot <albator78@libertysurf.fr> | 2018-11-29 21:40:43 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2018-11-29 21:40:43 +0100 |
commit | a39a7f7dd5a2e7ca2c105ff6622bf0f75e10e590 (patch) | |
tree | 6bfbfb710705498132cedeb52e9459701f0ce223 /redhat/dependencies/qt3/patches/3.5.13.2/qt-x11-free-3.3.7-umask.patch | |
parent | e0e9cbe466c1488a245ba028645a6f897b9ea02c (diff) | |
download | tde-packaging-a39a7f7dd5a2e7ca2c105ff6622bf0f75e10e590.tar.gz tde-packaging-a39a7f7dd5a2e7ca2c105ff6622bf0f75e10e590.zip |
RPM: remove obsolete patches
Diffstat (limited to 'redhat/dependencies/qt3/patches/3.5.13.2/qt-x11-free-3.3.7-umask.patch')
-rw-r--r-- | redhat/dependencies/qt3/patches/3.5.13.2/qt-x11-free-3.3.7-umask.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/redhat/dependencies/qt3/patches/3.5.13.2/qt-x11-free-3.3.7-umask.patch b/redhat/dependencies/qt3/patches/3.5.13.2/qt-x11-free-3.3.7-umask.patch deleted file mode 100644 index f2351909f..000000000 --- a/redhat/dependencies/qt3/patches/3.5.13.2/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", |