diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-29 22:41:45 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-07-09 16:37:08 +0200 |
commit | 97ec1bacd1bcabffe354b45aa5340f129487e2b8 (patch) | |
tree | 77d6f94a3e30621b503e466df35cd4ac48e866b7 /kmail | |
parent | ab5822e18cf35c173ae9cee9558d75361034c798 (diff) | |
download | tdepim-97ec1bacd1bcabffe354b45aa5340f129487e2b8.tar.gz tdepim-97ec1bacd1bcabffe354b45aa5340f129487e2b8.zip |
Disable unneccesary fsync() in cached IMAP handler
(cherry picked from commit 82d4a938ce57d8611e1ef2e26924bb4367483b0c)
Diffstat (limited to 'kmail')
-rw-r--r-- | kmail/kmfoldercachedimap.cpp | 2 |
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; |