Hello community,

here is the log from the commit of package kdepim3 for openSUSE:Factory checked 
in at 2012-07-02 10:59:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdepim3 (Old)
 and      /work/SRC/openSUSE:Factory/.kdepim3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdepim3", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdepim3/kdepim3.changes  2012-06-05 
15:32:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kdepim3.new/kdepim3.changes     2012-07-02 
10:59:57.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Jun 30 09:47:09 UTC 2012 - [email protected]
+
+- remove unnecessary sync to speed up IMAP (patch from trinity)
+
+-------------------------------------------------------------------

New:
----
  kdepim-trinity-remove-unnecessary-sync.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdepim3.spec ++++++
--- /var/tmp/diff_new_pack.9lLJXU/_old  2012-07-02 10:59:59.000000000 +0200
+++ /var/tmp/diff_new_pack.9lLJXU/_new  2012-07-02 10:59:59.000000000 +0200
@@ -76,6 +76,7 @@
 Patch137:       kdepim3-gcc47.patch
 Patch138:       kdepim-trinity-imap-optimize.patch
 Patch139:       kdepim-trinity-imap-segfault.patch
+Patch140:       kdepim-trinity-remove-unnecessary-sync.patch
 Provides:       cryptplug
 Obsoletes:      cryptplug
 # authentification plugins can be useful
@@ -274,6 +275,7 @@
 %patch137 -p1
 %patch138 -p1
 %patch139 -p1
+%patch140 -p1
 . /etc/opt/kde3/common_options
 update_admin
 

++++++ kdepim-trinity-remove-unnecessary-sync.patch ++++++
>From 82d4a938ce57d8611e1ef2e26924bb4367483b0c Mon Sep 17 00:00:00 2001
From: Timothy Pearson <[email protected]>
Date: Sat, 30 Jun 2012 03:41:45 +0000
Subject: Disable unneccesary fsync() in cached IMAP handler

---
diff --git a/kmail/kmfoldercachedimap.cpp b/kmail/kmfoldercachedimap.cpp
index 72f1113..e7009a2 100644
--- a/kmail/kmfoldercachedimap.cpp
+++ b/kmail/kmfoldercachedimap.cpp
@@ -478,7 +478,7 @@ int KMFolderCachedImap::writeUidCache()
     str << lastUid() << endl;
     uidcache.flush();
     if ( uidcache.status() == IO_Ok ) {
-      fsync( uidcache.handle() ); /* this is probably overkill */
+      // fsync( uidcache.handle() ); /* this is probably overkill */
       uidcache.close();
       if ( uidcache.status() == IO_Ok )
         return 0;
--
cgit v0.9.0.2-39-g756e
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to