From 97ec1bacd1bcabffe354b45aa5340f129487e2b8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 29 Jun 2012 22:41:45 -0500 Subject: [PATCH] Disable unneccesary fsync() in cached IMAP handler (cherry picked from commit 82d4a938ce57d8611e1ef2e26924bb4367483b0c) --- kmail/kmfoldercachedimap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;