summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-29 22:41:45 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-07-09 16:37:08 +0200
commit97ec1bacd1bcabffe354b45aa5340f129487e2b8 (patch)
tree77d6f94a3e30621b503e466df35cd4ac48e866b7
parentab5822e18cf35c173ae9cee9558d75361034c798 (diff)
downloadtdepim-97ec1bacd1bcabffe354b45aa5340f129487e2b8.tar.gz
tdepim-97ec1bacd1bcabffe354b45aa5340f129487e2b8.zip
Disable unneccesary fsync() in cached IMAP handler
(cherry picked from commit 82d4a938ce57d8611e1ef2e26924bb4367483b0c)
-rw-r--r--kmail/kmfoldercachedimap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/kmfoldercachedimap.cpp b/kmail/kmfoldercachedimap.cpp
index 72f1113c..e7009a23 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;