pgrep fails to show full command line with -au
authorElliott Forney <elliott.forney@gmail.com>
Thu, 30 Jan 2014 10:36:26 +0000 (21:36 +1100)
committerCraig Small <csmall@enc.com.au>
Thu, 30 Jan 2014 10:36:26 +0000 (21:36 +1100)
commit6f1c04259d979ff04d129f235c950e48e94c7e76
tree80218ea16c77f3b859b623dda11fd677d9e99953
parent39210a89debaff023fa97250bee63c57fe9dfcfb
pgrep fails to show full command line with -au

pgrep does not show the full command line when the -a and -u flags are
combined. The -a flag is ignored when the -u flag is used as well.

In addition, the supplied patch by Elliot did not fix the problem
when invert flag ( -v ) was used; a very small tweak to the patch
fixed this problem as well. This problem existed before.

Signed-off-by: Craig Small <csmall@enc.com.au>
pgrep.c