pgrep: fix "pgrep -v -P1"; also allow matching of comm - closes 10086
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 21 Jul 2017 15:43:14 +0000 (17:43 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 21 Jul 2017 15:43:14 +0000 (17:43 +0200)
commit578008a9897b2d64532ed5843807c05fba1f862f
tree3563c3ec8ffa64e46d019dda3cd520dc21061e05
parent67d42dfdea3fc85e6777689a96b92761084706dc
pgrep: fix "pgrep -v -P1"; also allow matching of comm - closes 10086

function                                             old     new   delta
pgrep_main                                           662     720     +58

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/pgrep.c