Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 20:57:41 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r228506 - user/delphij/patch
Message-ID:  <201112142057.pBEKvfYr014479@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed Dec 14 20:57:41 2011
New Revision: 228506
URL: http://svn.freebsd.org/changeset/base/228506

Log:
  Increase fixed static buffer sizes and maximum hunk size.

Modified:
  user/delphij/patch/common.h

Modified: user/delphij/patch/common.h
==============================================================================
--- user/delphij/patch/common.h	Wed Dec 14 19:48:21 2011	(r228505)
+++ user/delphij/patch/common.h	Wed Dec 14 20:57:41 2011	(r228506)
@@ -36,10 +36,10 @@
 
 /* constants */
 
-#define MAXHUNKSIZE 100000	/* is this enough lines? */
+#define MAXHUNKSIZE 200000	/* is this enough lines? */
 #define INITHUNKMAX 125		/* initial dynamic allocation size */
 #define MAXLINELEN 8192
-#define BUFFERSIZE 1024
+#define BUFFERSIZE 8192
 
 #define SCCSPREFIX "s."
 #define GET "get -e %s"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112142057.pBEKvfYr014479>