]> granicus.if.org Git - procps-ng/commit
top: still more tidying up after <pids> implementation
authorJim Warner <james.warner@comcast.net>
Tue, 1 Sep 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 3 Sep 2015 12:37:54 +0000 (22:37 +1000)
commitf1bd82ff07d67dbcfa455e82678f44376cfe1a90
treea20baf984028c628455aed0d2c7e3966d99babf0
parent1b38b751ff09d53641eb5851374461114ee2e9b2
top: still more tidying up after <pids> implementation

A patch containing the following miscellaneous tweaks:

. remove a function that handled former library errors
[ that function should have gone bye-bye with 3.3.11 ]
[ when those 'wchan' provisions were much simplified ]

. make clearer a distinction between 'new' and 'reset'
[ use PROCPS_PIDS_noop when procps_pids_new() called ]
[ since at that point we are only establishing depth ]

Reference(s):
http://www.freelists.org/post/procps/newlib-for-pgrep,1

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