svn commit: r228506 - user/delphij/patch
    Xin LI 
    delphij at FreeBSD.org
       
    Wed Dec 14 20:57:41 UTC 2011
    
    
  
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"
    
    
More information about the svn-src-user
mailing list