summaryrefslogtreecommitdiff
path: root/mail/sylpheed/patches
diff options
context:
space:
mode:
authorchris <chris>2003-12-15 00:30:52 +0000
committerchris <chris>2003-12-15 00:30:52 +0000
commit5d4be69ccf2f5748d747a89ba86d3ad634ef31d6 (patch)
treee7c6b4e4f4e98a3243e0f361b72caf8b502dbcc8 /mail/sylpheed/patches
parent5051b701e745622fa38af46e88c0ccf887603dff (diff)
downloadpkgsrc-5d4be69ccf2f5748d747a89ba86d3ad634ef31d6.tar.gz
Add a workaround patch to sylpheed for an issue with cache files appearing
to be corrupt. The use of setvbuf after a file has had IO performed causes a discard of data from that stream, so the cache file appears corrupt. This cures performance issues with imap folders, where all the headers were refetched all the time, rather than using the cached versions.
Diffstat (limited to 'mail/sylpheed/patches')
-rw-r--r--mail/sylpheed/patches/patch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/sylpheed/patches/patch-aa b/mail/sylpheed/patches/patch-aa
new file mode 100644
index 00000000000..9a10437269b
--- /dev/null
+++ b/mail/sylpheed/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.3 2003/12/15 00:30:52 chris Exp $
+
+--- src/procmsg.c.orig 2003-12-08 10:24:06.000000000 +0000
++++ src/procmsg.c 2003-12-15 00:05:07.000000000 +0000
+@@ -216,7 +216,6 @@ GSList *procmsg_read_cache(FolderItem *i
+
+ if ((fp = procmsg_open_cache_file(item, DATA_READ)) == NULL)
+ return NULL;
+- setvbuf(fp, file_buf, _IOFBF, sizeof(file_buf));
+
+ debug_print("Reading summary cache...");
+