From owner-cvs-src@FreeBSD.ORG Sat Nov 8 22:41:29 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69D1C16A4CE; Sat, 8 Nov 2003 22:41:29 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BC8943FE1; Sat, 8 Nov 2003 22:41:27 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id RAA09821; Sun, 9 Nov 2003 17:41:24 +1100 Date: Sun, 9 Nov 2003 17:41:23 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: John-Mark Gurney In-Reply-To: <200311080724.hA87O3Y3034471@repoman.freebsd.org> Message-ID: <20031109173109.D2203@gamplex.bde.org> References: <200311080724.hA87O3Y3034471@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/vmstat vmstat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 06:41:29 -0000 On Fri, 7 Nov 2003, John-Mark Gurney wrote: > jmg 2003/11/07 23:24:03 PST > > FreeBSD src repository > > Modified files: > usr.bin/vmstat vmstat.c > Log: > fix an overflow bug when scanning for length of names that I introduced in > the last commit... > > include some minor style changes and fixes that bde sent me > > Submitted by: bde Thanks. This also fixes missing backing out of the expansion of the lower limit on the width of the first column of output from 12 to 14. A lower limit is not really needed when the minimum width is determined automatically. Any lower limit should not be gratuitously large, since the width of the second column is not determined automatically and is so large that there is already too much white space between the columns. Bruce