[SVN] r469 - /trunk/cyrus-imapd-2.2.13/debian/patches/70-allow-larger-buffers.dpatch

debian at incase.de debian at incase.de
Wed May 24 13:38:51 UTC 2006


Author: sven
Date: Wed May 24 15:38:50 2006
New Revision: 469

URL: https://mail.incase.de/viewcvs?rev=469&root=cyrus22&view=rev
Log:
Add a patch to enlarge some buffers, since I had some problem with a folder with 80k messages. The patch is supposed to fix those issues.

Added:
    trunk/cyrus-imapd-2.2.13/debian/patches/70-allow-larger-buffers.dpatch   (with props)

Added: trunk/cyrus-imapd-2.2.13/debian/patches/70-allow-larger-buffers.dpatch
URL: https://mail.incase.de/viewcvs/trunk/cyrus-imapd-2.2.13/debian/patches/70-allow-larger-buffers.dpatch?rev=469&root=cyrus22&view=auto
==============================================================================
--- trunk/cyrus-imapd-2.2.13/debian/patches/70-allow-larger-buffers.dpatch (added)
+++ trunk/cyrus-imapd-2.2.13/debian/patches/70-allow-larger-buffers.dpatch Wed May 24 15:38:50 2006
@@ -1,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## allow-larger-buffers-dpatch by Sven Mueller <debian at incase.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch to allow larger buffers (especially for list of UIDs).
+## DP: Patch taken and "backported" to 2.2 from:
+## DP: http://cyrus.brong.fastmail.fm/patches/cyrus-longwords-2.3.3.diff
+
+ at DPATCH@
+diff -urNad cyrus-imapd-2.2.13/imap/imapparse.c /tmp/dpep.n4kRMv/cyrus-imapd-2.2.13/imap/imapparse.c
+--- cyrus-imapd-2.2.13/imap/imapparse.c	2006-03-31 20:18:13.000000000 +0200
++++ /tmp/dpep.n4kRMv/cyrus-imapd-2.2.13/imap/imapparse.c	2006-05-24 14:33:42.733793569 +0200
+@@ -52,8 +52,8 @@
+ #include "exitcodes.h"
+ 
+ enum {
+-    MAXQUOTED = 32768,
+-    MAXWORD = 32768,
++    MAXQUOTED = 131072,
++    MAXWORD = 131072,
+     MAXLITERAL = INT_MAX / 20
+ };
+ 

Propchange: trunk/cyrus-imapd-2.2.13/debian/patches/70-allow-larger-buffers.dpatch
------------------------------------------------------------------------------
    svn:executable = *



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list