summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldercachedimap.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-29 22:41:45 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-29 22:41:45 -0500
commit82d4a938ce57d8611e1ef2e26924bb4367483b0c (patch)
tree4d0e2516fe578ed95960a7bb7cbc495e3ffcc05c /kmail/kmfoldercachedimap.cpp
parent81c1233517e38f3f10404f5ffc722ee37a0703c6 (diff)
downloadtdepim-82d4a938ce57d8611e1ef2e26924bb4367483b0c.tar.gz
tdepim-82d4a938ce57d8611e1ef2e26924bb4367483b0c.zip
Disable unneccesary fsync() in cached IMAP handler
Diffstat (limited to 'kmail/kmfoldercachedimap.cpp')
-rw-r--r--kmail/kmfoldercachedimap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/kmfoldercachedimap.cpp b/kmail/kmfoldercachedimap.cpp
index 72f1113c2..e7009a237 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;