diff options
author | chris <chris> | 2003-12-15 00:30:52 +0000 |
---|---|---|
committer | chris <chris> | 2003-12-15 00:30:52 +0000 |
commit | b54c62ec6add1f40f7b8cd79fc9a12ddc5c01f24 (patch) | |
tree | e7c6b4e4f4e98a3243e0f361b72caf8b502dbcc8 /mail | |
parent | 939bc53212030c31bad2a9071f771a3fe8b255c7 (diff) | |
download | pkgsrc-b54c62ec6add1f40f7b8cd79fc9a12ddc5c01f24.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')
-rw-r--r-- | mail/sylpheed/distinfo | 3 | ||||
-rw-r--r-- | mail/sylpheed/patches/patch-aa | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/mail/sylpheed/distinfo b/mail/sylpheed/distinfo index 8b4b4fa8a95..b9cd0e02256 100644 --- a/mail/sylpheed/distinfo +++ b/mail/sylpheed/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.27 2003/12/13 11:01:33 xtraeme Exp $ +$NetBSD: distinfo,v 1.28 2003/12/15 00:30:52 chris Exp $ SHA1 (sylpheed-0.9.8.tar.bz2) = 375bd60c38f0adaaf8474dafdebd4a78e0ee9f90 Size (sylpheed-0.9.8.tar.bz2) = 2209820 bytes +SHA1 (patch-aa) = 17613bf040aca09009075cc5cc09aa8e6e08d33b 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..."); + |