diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-07-02 19:32:57 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-07-02 19:32:57 +0200 |
commit | 4647c085f8ccbde2c07722e6556116fcd5e6db2c (patch) | |
tree | 0cd92837931871f2b1ba261e5f8d8e34e11c9935 /redhat/kdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch | |
parent | d6b190237628832ef01e65b002ad44b758f62530 (diff) | |
download | tde-packaging-4647c085f8ccbde2c07722e6556116fcd5e6db2c.tar.gz tde-packaging-4647c085f8ccbde2c07722e6556116fcd5e6db2c.zip |
RHEL/Fedora: some updates
Diffstat (limited to 'redhat/kdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch')
-rw-r--r-- | redhat/kdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/redhat/kdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch b/redhat/kdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch new file mode 100644 index 000000000..c382ec723 --- /dev/null +++ b/redhat/kdepim/kdepim-3.5.13-disable_fsync_in_cached_imap.patch @@ -0,0 +1,19 @@ +commit 82d4a938ce57d8611e1ef2e26924bb4367483b0c +Author: Timothy Pearson <kb9vqf@pearsoncomputing.net> +Date: 1341027705 -0500 + + Disable unneccesary fsync() in cached IMAP handler + +diff --git a/kmail/kmfoldercachedimap.cpp b/kmail/kmfoldercachedimap.cpp +index 72f1113..e7009a2 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; |