diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-12-09 08:40:11 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-12-09 08:40:11 +0000 |
commit | 81968850a0f5535344c98893ea493f306d9658b1 (patch) | |
tree | 7a2ba4f74ade527f9e2dcab6beada4d3c6e6d136 /mail/dovecot-devel | |
parent | c9993535b39fd0d83442c73418a410f8c4b9ae57 (diff) | |
download | ports-81968850a0f5535344c98893ea493f306d9658b1.tar.gz ports-81968850a0f5535344c98893ea493f306d9658b1.zip |
Notes
Diffstat (limited to 'mail/dovecot-devel')
-rw-r--r-- | mail/dovecot-devel/files/patch-src-lib-index-mail-index-sync-ext.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/dovecot-devel/files/patch-src-lib-index-mail-index-sync-ext.c b/mail/dovecot-devel/files/patch-src-lib-index-mail-index-sync-ext.c new file mode 100644 index 000000000000..af432b7b06bc --- /dev/null +++ b/mail/dovecot-devel/files/patch-src-lib-index-mail-index-sync-ext.c @@ -0,0 +1,16 @@ +Index: src/lib-index/mail-index-sync-ext.c +=================================================================== +RCS file: /home/cvs/dovecot/src/lib-index/mail-index-sync-ext.c,v +retrieving revision 1.11 +retrieving revision 1.12 +diff -u -r1.11 -r1.12 +--- src/lib-index/mail-index-sync-ext.c 24 Sep 2005 10:12:03 -0000 1.11 ++++ src/lib-index/mail-index-sync-ext.c 28 Oct 2005 14:10:13 -0000 1.12 +@@ -332,6 +332,7 @@ + unsigned i, count = array_count(&map->extensions); + ssize_t diff = (ssize_t)new_size - (ssize_t)old_size; + ++ ext = array_idx_modifyable(&map->extensions, 0); + for (i = ext_id + 1; i < count; i++) + ext[i].hdr_offset += diff; + } |