svn commit: r282468 - head/usr.bin/checknr
Baptiste Daroussin
bapt at FreeBSD.org
Tue May 5 09:54:48 UTC 2015
Author: bapt
Date: Tue May 5 09:54:47 2015
New Revision: 282468
URL: https://svnweb.freebsd.org/changeset/base/282468
Log:
Enlarge the buffer for storing macros as some macros can be longer than 5
Modified:
head/usr.bin/checknr/checknr.c
Modified: head/usr.bin/checknr/checknr.c
==============================================================================
--- head/usr.bin/checknr/checknr.c Tue May 5 09:50:21 2015 (r282467)
+++ head/usr.bin/checknr/checknr.c Tue May 5 09:54:47 2015 (r282468)
@@ -313,7 +313,7 @@ static void
process(FILE *f)
{
int i, n;
- char mac[5]; /* The current macro or nroff command */
+ char mac[512]; /* The current macro or nroff command */
char *line;
size_t linecap;
int pl;
More information about the svn-src-head
mailing list