[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 203715] kio_imap4 eats randomly too much cpu
From: Allen Winter <winter () kde ! org>
Date: 2010-01-06 23:49:16
Message-ID: 20100106234916.A7C862F99C () immanuel ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=203715
Allen Winter <winter@kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |winter@kde.org
--- Comment #4 from Allen Winter <winter kde org> 2010-01-07 00:49:13 ---
Tomas, thanks!
Once we have a working patch I will ask the distros to push it out to their
users.
Here's a possible patch for people to try
Index: /data/kde/trunk/KDE/kdepimlibs/kioslave/imap4/imapparser.cpp
===================================================================
--- /data/kde/trunk/KDE/kdepimlibs/kioslave/imap4/imapparser.cpp
(revision 1070797)
+++ /data/kde/trunk/KDE/kdepimlibs/kioslave/imap4/imapparser.cpp
(working copy)
@@ -265,9 +265,11 @@ imapParser::clientAuthenticate ( KIO::Sl
while ( true )
{
//read the next line
- while (parseLoop() == 0) {
+ int parseStat;
+ while ( ( parseStat = parseLoop() ) == 0) {
;
}
+ if ( parseStat < 0 ) break;
if ( cmd->isComplete() ) break;
if (!continuation.isEmpty())
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic