summaryrefslogtreecommitdiff
path: root/misc/deco/files/patch-af
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-08-16 13:51:31 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-08-16 13:51:31 +0000
commit306fed238a2b56a269e601892afbd05a309c21dd (patch)
tree10aa812fc9d09691e7da31d2b2e9e707fed22110 /misc/deco/files/patch-af
parent- Update distinfo; (diff)
Do not coredump when viewing files larger that 8Mb.
Bump PORTREVISION Minor cosmetic fixes in the Makefile. Submitted by: Pavel Biryukov <pavel@svegapro.ru>
Notes
Notes: svn path=/head/; revision=46330
Diffstat (limited to '')
-rw-r--r--misc/deco/files/patch-af11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/deco/files/patch-af b/misc/deco/files/patch-af
new file mode 100644
index 000000000000..dc1b20e0308c
--- /dev/null
+++ b/misc/deco/files/patch-af
@@ -0,0 +1,11 @@
+--- rec.c.orig Thu Aug 16 17:29:07 2001
++++ rec.c Thu Aug 16 17:29:35 2001
+@@ -61,7 +61,7 @@
+ static char *scanbuf, *pbuf;
+ static char *tfilename;
+ static int eoln;
+-static int MAXLEN = ((unsigned int) (int) -1 >> 1) / sizeof (struct index);
++static int MAXLEN = 32767;
+
+ static int ffcopy (int from, int to)
+ {