On Tue, 7 Mar 2023, Tobias Heider wrote: > I was playing with ps today and noticed that the alignment of everything > following the "command" keyword seems to be broken currently. An easy way > to test this is running ps -axo command,uid which gives me a wrongly aligned > uid for some processes: > > /usr/X11R6/bin/X 35 > X: [priv] (Xorg) 0 > xenodm: :0 (xeno) 0 > > It look like this was broken in 1.83 which introduces print_comm_name() but > wrongly assumes the returned value is the length difference when it actually > is the updated length value. With this fixed I get a correctly aligned output: > > /usr/X11R6/bin/X 35 > X: [priv] (Xorg) 0 > xenodm: :0 (xeno 0 > > ok?
Oops, yeah. ok guenther@