Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
ab0bceb5
Commit
ab0bceb5
authored
Oct 08, 2014
by
Jeff Garrett
Browse files
Interpret command line PIDs as PIDs, not TIDs
parent
0e8a0236
Changes
1
Hide whitespace changes
Inline
Side-by-side
ProcessList.c
View file @
ab0bceb5
...
...
@@ -1074,7 +1074,7 @@ void ProcessList_rebuildPanel(ProcessList* this, bool flags, int following, bool
if
(
(
!
p
->
show
)
||
(
userOnly
&&
(
p
->
st_uid
!=
userId
))
||
(
incFilter
&&
!
(
String_contains_i
(
p
->
comm
,
incFilter
)))
||
(
this
->
pidWhiteList
&&
!
Hashtable_get
(
this
->
pidWhiteList
,
p
->
p
id
))
)
||
(
this
->
pidWhiteList
&&
!
Hashtable_get
(
this
->
pidWhiteList
,
p
->
tg
id
))
)
hidden
=
true
;
if
(
!
hidden
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment