summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/patch
diff options
context:
space:
mode:
authorrich <rich@FreeBSD.org>1993-09-22 16:51:03 +0000
committerrich <rich@FreeBSD.org>1993-09-22 16:51:03 +0000
commit79766d4d8db1baee779de44f10f31516568ee0b1 (patch)
tree1430d6355bb0b2bb7e0b26fd7845db63e3ae2ab1 /gnu/usr.bin/patch
parentdca51f7e837aef3aed87b454dc1f3c181380360f (diff)
downloadFreeBSD-src-79766d4d8db1baee779de44f10f31516568ee0b1.zip
FreeBSD-src-79766d4d8db1baee779de44f10f31516568ee0b1.tar.gz
Increaed the fixed static buffer sizes and maximum hunk size that
otherwise causes the XFree86 1.3 patch set to fail.
Diffstat (limited to 'gnu/usr.bin/patch')
-rw-r--r--gnu/usr.bin/patch/common.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/usr.bin/patch/common.h b/gnu/usr.bin/patch/common.h
index d1906fd..9bae5bd 100644
--- a/gnu/usr.bin/patch/common.h
+++ b/gnu/usr.bin/patch/common.h
@@ -1,6 +1,9 @@
-/* $Header: common.h,v 2.0.1.2 88/06/22 20:44:53 lwall Locked $
+/* $Header: /a/cvs/386BSD/src/gnu/patch/common.h,v 1.1.1.1 1993/06/19 14:21:52 paul Exp $
+ *
+ * $Log: common.h,v $
+ * Revision 1.1.1.1 1993/06/19 14:21:52 paul
+ * b-maked patch-2.10
*
- * $Log: common.h,v $
* Revision 2.0.1.2 88/06/22 20:44:53 lwall
* patch12: sprintf was declared wrong
*
@@ -58,10 +61,10 @@
#define TRUE (1)
#define FALSE (0)
-#define MAXHUNKSIZE 100000 /* is this enough lines? */
+#define MAXHUNKSIZE 200000 /* is this enough lines? */
#define INITHUNKMAX 125 /* initial dynamic allocation size */
-#define MAXLINELEN 1024
-#define BUFFERSIZE 1024
+#define MAXLINELEN 4096
+#define BUFFERSIZE 4096
#define SCCSPREFIX "s."
#define GET "get %s"
OpenPOWER on IntegriCloud