]> granicus.if.org Git - procps-ng/commit
pmap - removing the column width constraints in the -X/-XX modes
authorJaromir Capik <jcapik@redhat.com>
Thu, 7 Feb 2013 16:56:55 +0000 (17:56 +0100)
committerJaromir Capik <jcapik@redhat.com>
Fri, 15 Feb 2013 17:51:24 +0000 (18:51 +0100)
commitd454bfe9025d89ad888d4de9e741dc8f95c22b9c
treec4650cd65367c559f8a928c3bdfeafb6b6c4a0df
parent20ce346ebde81acc091007a7e1bf3328a51a9d8f
pmap - removing the column width constraints in the -X/-XX modes

This commit changes the width measurement principle in the -X/-XX
modes so that a width of totals is measured instead of the width
of summands. The value of totals is always higher than the value
of summands. That additionally prevents the totals from having
a wrong indentation.

This commit also removes the minimum column width constraints
hardcoded to 7 characters.
pmap.c