]> granicus.if.org Git - procps-ng/commit
ps: that restored aix behavior is now even more robust
authorJim Warner <james.warner@comcast.net>
Mon, 4 Apr 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sat, 9 Apr 2022 02:57:39 +0000 (12:57 +1000)
commit4fbf8d22a99445bc7b37c6d36ed9e045821439e3
treef7e658ed9295a3f152c56a880ae798a899694a39
parent197728491a5a2a736140b6ddb4b5c99a91861a50
ps: that restored aix behavior is now even more robust

With the commit referenced below a nasty bug affecting
aix parsing was swatted. Beyond the bug, the logic was
enhanced to disallow commas in the format string since
they would otherwise be shown with their field's data.

However, there remained many characters other than ','
that could survive the edits to then be shown adjacent
to the data. Well, with this patch they won't anymore!

[ along the way we will no longer try to forgive the ]
[ use of a double '%%' prefix since that resulted in ]
[ display of one '%' and field code instead of data. ]

Reference(s):
. March, 2022 - restored aix bahavior
commit 8cb646bdfc6e37b221f9616df96c6c116e6def28

Signed-off-by: Jim Warner <james.warner@comcast.net>
ps/sortformat.c