cvs commit: src/sys/ddb db_command.c db_examine.c db_output.c
db_output.h
Bruce Evans
bde at FreeBSD.org
Sun Oct 8 11:15:11 PDT 2006
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
More information about the cvs-src
mailing list