procps/ps
Jim Warner 8cb646bdfc ps: restore aix behavior while keeping an original fix
The commit shown below broke the aix behavior that Dr.
Fink recently reported. However, in the proposed patch
the old behavior, showing garbage when '%cpu' was used
with an invalid formatting option, would appear again.

So this patch, based on Werner's patch, goes the extra
distance to prevent that. Along the way we'll disallow
commas in the aix format str to prevent their display.

Reference(s):
https://www.freelists.org/post/procps/Procpsng-400-released-with-newlib,2
. Mar, 2022 - where aix bug was introduced
commit 81df85a1b5

Prototyped-by: Dr. Werner Fink <werner@suse.de>
Signed-off-by: Jim Warner <james.warner@comcast.net>
2022-04-01 17:13:25 +11:00
..
common.h ps: plus for symmetry 'UTILIZATION_C' is newest format 2022-03-07 20:29:06 +11:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c ps: restore aix behavior while keeping an original fix 2022-04-01 17:13:25 +11:00
global.c ps: plus for symmetry 'UTILIZATION_C' is newest format 2022-03-07 20:29:06 +11:00
HACKING docs: remove old information from HACKING 2012-01-13 22:42:38 +01:00
help.c library: cleanup of library includes 2016-04-16 17:03:57 +10:00
output.c ps: plus for symmetry 'UTILIZATION_C' is newest format 2022-03-07 20:29:06 +11:00
parser.c ps: eliminated inadvertent trailing double semi-colons 2020-04-10 14:37:15 +10:00
ps.1 ps: plus for symmetry 'UTILIZATION_C' is newest format 2022-03-07 20:29:06 +11:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c ps: Match on truncated 16 char for -C 2020-09-24 22:19:11 +10:00
sortformat.c ps: restore aix behavior while keeping an original fix 2022-04-01 17:13:25 +11:00
stacktrace.c misc: just eliminate several 'unused' warning messages 2016-07-26 07:59:48 +10:00