summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-12-15 23:59:19 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-12-15 23:59:19 +0000
commit6b73c64f9a1f9fd756185656454e9fc346d1a661 (patch)
treed798bb9b0e85aa0a352f374790f3747c0a919b16 /kde-base/kdepimlibs/files
parentAdd upstream patches to fix various crashes, including the segfault in file o... (diff)
downloadgentoo-2-6b73c64f9a1f9fd756185656454e9fc346d1a661.tar.gz
gentoo-2-6b73c64f9a1f9fd756185656454e9fc346d1a661.tar.bz2
gentoo-2-6b73c64f9a1f9fd756185656454e9fc346d1a661.zip
Fix imap4 protocol regression, bug 382411. Yeah! Thanks to Luke-Jr!
(Portage version: 2.1.10.40/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdepimlibs/files')
-rw-r--r--kde-base/kdepimlibs/files/kdepimlibs-4.7.4-size.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/kde-base/kdepimlibs/files/kdepimlibs-4.7.4-size.patch b/kde-base/kdepimlibs/files/kdepimlibs-4.7.4-size.patch
new file mode 100644
index 000000000000..ec5630d0eecf
--- /dev/null
+++ b/kde-base/kdepimlibs/files/kdepimlibs-4.7.4-size.patch
@@ -0,0 +1,13 @@
+diff --git a/kioslave/imap4/imapcommand.cpp b/kioslave/imap4/imapcommand.cpp
+index 43daccd..8256570 100644
+--- a/kioslave/imap4/imapcommand.cpp
++++ b/kioslave/imap4/imapcommand.cpp
+@@ -231,7 +231,7 @@ CommandPtr
+ imapCommand::clientAppend (const QString & box, const QString & flags,
+ ulong size)
+ {
+- QString tmp = QString(flags.isEmpty() ? QString("") : QString(('(' + flags + ") ")) + '{' + QString::number(size) + '}');
++ QString tmp = QString((flags.isEmpty() ? QString("") : QString(('(' + flags + ") "))) + '{' + QString::number(size) + '}');
+ return CommandPtr( new imapCommand ("APPEND",
+ "\"" + KIMAP::encodeImapFolderName (box) + "\" " + tmp));
+ }