From owner-cvs-src@FreeBSD.ORG  Sun Oct  8 18:15:11 2006
Return-Path: <owner-cvs-src@FreeBSD.ORG>
X-Original-To: cvs-src@FreeBSD.org
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 13A2416A403;
	Sun,  8 Oct 2006 18:15:10 +0000 (UTC) (envelope-from bde@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115])
	by mx1.FreeBSD.org (Postfix) with ESMTP id F13D943D76;
	Sun,  8 Oct 2006 18:15:08 +0000 (GMT) (envelope-from bde@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k98IF8Rx008014;
	Sun, 8 Oct 2006 18:15:08 GMT (envelope-from bde@repoman.freebsd.org)
Received: (from bde@localhost)
	by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k98IF8vk008013;
	Sun, 8 Oct 2006 18:15:08 GMT (envelope-from bde)
Message-Id: <200610081815.k98IF8vk008013@repoman.freebsd.org>
From: Bruce Evans <bde@FreeBSD.org>
Date: Sun, 8 Oct 2006 18:15:08 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Cc: 
Subject: cvs commit: src/sys/ddb db_command.c db_examine.c db_output.c
 db_output.h
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Oct 2006 18:15:11 -0000

bde         2006-10-08 18:15:08 UTC

  FreeBSD src repository

  Modified files:
    sys/ddb              db_command.c db_examine.c db_output.c 
                         db_output.h 
  Log:
  Fixed formatting of printing of command tables.  WIth the default max
  output width of 79, only 6 columns of width 12 each fit, but 7 columns
  were printed.
  
  The fix is to pass the width of the next output to db_end_line() and
  not assume there that this width is always 1.
  
  Related unfixed bugs:
  - 1 character is wasted for a space after the last column
  - suppression of trailing spaces used to limit the misformatting, but
    seems to have been lost
  - in db_examine(), the width of the next output is not know and is
    still assumed to be 1.
  
  Revision  Changes    Path
  1.69      +2 -2      src/sys/ddb/db_command.c
  1.33      +1 -1      src/sys/ddb/db_examine.c
  1.36      +2 -2      src/sys/ddb/db_output.c
  1.15      +1 -1      src/sys/ddb/db_output.h