freebsd-dev/usr.bin/top
Kyle Evans deb63adf94 top: fix sorting by pid (-o pid)
The 'pid' order was added, but the equivalent comparator was not back in
8b800d3af2 ("Add the PID column to the list of sort keys.").
`ordernames` indices need to match `compares` indices in order for this
to work.

A future commit will restructure all of this to make it less error prone
going forward (see D37083).

MFC after:	3 days
Reviewed by:	pstef (D37083)
2023-02-13 00:43:32 -06:00
..
commands.c top(1): support command name and argument grepping 2021-06-29 17:51:18 -06:00
commands.h top(1): support command name and argument grepping 2021-06-29 17:51:18 -06:00
display.c
display.h
layout.h
loadavg.h
machine.c top: fix sorting by pid (-o pid) 2023-02-13 00:43:32 -06:00
machine.h top(1): support command name and argument grepping 2021-06-29 17:51:18 -06:00
Makefile ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
Makefile.depend
screen.c
screen.h
top.1 top.1: Use the Dq macros instead of \*lq and \*rq 2021-11-18 15:56:49 +01:00
top.c top(1): Fix a typo in a source code comment 2022-04-02 14:53:20 +02:00
top.h top(1): support command name and argument grepping 2021-06-29 17:51:18 -06:00
username.c
username.h
utils.c
utils.h