Disable unneccesary fsync() in cached IMAP handler

(cherry picked from commit 82d4a938ce)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent ab5822e18c
commit 97ec1bacd1

@ -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;

Loading…
Cancel
Save