Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 09:54:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282468 - head/usr.bin/checknr
Message-ID:  <201505050954.t459slxm078725@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505050954.t459slxm078725>