summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorCraig Small <csmall@dropbear.xyz>2022-01-31 18:14:12 +1100
committerCraig Small <csmall@dropbear.xyz>2022-01-31 18:14:12 +1100
commit9f4db0fb5606e4872829bd44b29443d5707b1505 (patch)
tree15ea70cfcd8efa543f2950ccdca822aa6bcecd74 /NEWS
parent50a0d9a56cfc4f81c492e8a75071579da96eb42e (diff)
downloadprocps-ng-9f4db0fb5606e4872829bd44b29443d5707b1505.tar.gz
free: Fix first column justification
free has for many years had a problem with translated header columns or the first column. This is because printf("-9s", str) doesn't use the wide length of the string but the char length meaning they are mis-aligned. Using the mbstowcs() function to get the wide length and then a precision parameter to append the right number of spaces after the number means we get what we need. References: procps-ng/procps#229 procps-ng/procps#204 procps-ng/procps#206 https://bugs.debian.org/1001689 Signed-off-by: Craig Small <csmall@dropbear.xyz>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8224c90..d8417d3 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ procps-ng-NEXT
* Rename pwait to pidwait
* free: Add committed line option merge #25
* free: Fix -h --si combined options issue #133, #223
+ * free: Fix first column justification issue #229, #204, #206, Debian #1001689
* library: renamed to libproc-2 and reset to 0:0:0
* library: add support for accessing smaps_rollup issue #112, #201
* library: add support for accessing autogroups