Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2015 21:30:29 +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: r282609 - head/usr.bin/checknr
Message-ID:  <201505072130.t47LUT9M082180@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu May  7 21:30:29 2015
New Revision: 282609
URL: https://svnweb.freebsd.org/changeset/base/282609

Log:
  Reduce the size to 64 for the commands, 512 was way too large for the purpose
  
  Noticed by:	julian

Modified:
  head/usr.bin/checknr/checknr.c

Modified: head/usr.bin/checknr/checknr.c
==============================================================================
--- head/usr.bin/checknr/checknr.c	Thu May  7 20:54:38 2015	(r282608)
+++ head/usr.bin/checknr/checknr.c	Thu May  7 21:30:29 2015	(r282609)
@@ -313,7 +313,7 @@ static void
 process(FILE *f)
 {
 	int i, n;
-	char mac[512];	/* The current macro or nroff command */
+	char mac[64];	/* 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?201505072130.t47LUT9M082180>