procps/ps
Jim Warner f0b7fd31db ps: restore aix behavior while keeping an original fix
[ since our'master' branch will suffer the same fate ]
[ this was ported from a patch created for 'newlib'. ]

-------------------------- original newlib commit text
-------------------------- (showing our master commit)

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 05187e4f17

Prototyped-by: Dr. Werner Fink <werner@suse.de>
Signed-off-by: Jim Warner <james.warner@comcast.net>
2022-04-01 17:21:34 +11:00
..
common.h ps: add lots of sorting functions 2020-12-22 16:18:17 +11:00
COPYING
display.c ps: ignore SIGURG 2021-10-13 20:47:44 +00:00
global.c Closes: #9 ps: Remove Unix98 output limitations 2015-10-26 11:18:52 +11:00
HACKING
help.c ps: add -q/q/--quick-pid option 2014-07-10 21:24:19 +02:00
output.c ps: extend utf8 multibyte support to additional fields 2020-12-29 08:42:28 +11:00
parser.c ps: eliminated inadvertent trailing double semi-colons 2020-04-10 14:35:17 +10:00
procps.1 Consolidated patch of previously merged CYGWIN support 2017-09-03 20:59:23 +10:00
ps.1 ps: new format option 'exe' now shows executable path if unavail from cmdline 2020-12-22 04:24:57 +00:00
regression
select.c ps: Match on truncated 16 char for -C 2020-09-24 22:01:22 +10:00
sortformat.c ps: restore aix behavior while keeping an original fix 2022-04-01 17:21:34 +11:00
stacktrace.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:34:32 +10:00