diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-06-24 19:50:32 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-06-24 19:50:32 +0200 |
commit | b4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch) | |
tree | 3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch | |
parent | 4cc71d79c5718d59078d06c497a56d7c05b41576 (diff) | |
download | tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip |
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch')
-rw-r--r-- | redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch b/redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch new file mode 100644 index 000000000..c382ec723 --- /dev/null +++ b/redhat/tdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch @@ -0,0 +1,19 @@ +commit 82d4a938ce57d8611e1ef2e26924bb4367483b0c +Author: Timothy Pearson <kb9vqf@pearsoncomputing.net> +Date: 1341027705 -0500 + + 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; |