Disable unneccesary fsync() in cached IMAP handler

pull/21/head
Timothy Pearson 13 years ago
parent 81c1233517
commit 82d4a938ce

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