summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/common.h
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1997-09-06 23:51:31 +0000
committerniklas <niklas@openbsd.org>1997-09-06 23:51:31 +0000
commit26c743a2b3d9e205f15d0155ff55dc1196ae6603 (patch)
tree5e5f7eeb5a1101c353bb83480c3ba5ae4a8c5849 /usr.bin/patch/common.h
parentln basename.3 dirname.3 (diff)
downloadwireguard-openbsd-26c743a2b3d9e205f15d0155ff55dc1196ae6603.tar.xz
wireguard-openbsd-26c743a2b3d9e205f15d0155ff55dc1196ae6603.zip
I hate static buffer sizes! Prolongue the max length of a line to 8K
(from 1K which a patch in ports/print/ghostscript5 had a line longer than).
Diffstat (limited to 'usr.bin/patch/common.h')
-rw-r--r--usr.bin/patch/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/patch/common.h b/usr.bin/patch/common.h
index e1a448ce974..2399724954a 100644
--- a/usr.bin/patch/common.h
+++ b/usr.bin/patch/common.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.h,v 1.7 1997/06/24 02:33:48 dgregor Exp $ */
+/* $OpenBSD: common.h,v 1.8 1997/09/06 23:51:31 niklas Exp $ */
#define DEBUGGING
@@ -50,7 +50,7 @@
#define MAXHUNKSIZE 100000 /* is this enough lines? */
#define INITHUNKMAX 125 /* initial dynamic allocation size */
-#define MAXLINELEN 1024
+#define MAXLINELEN 8192
#define BUFFERSIZE 1024
#define SCCSPREFIX "s."