Fix missing tree view when userland threads are hidden

(thanks to Josh Stone)
This commit is contained in:
Hisham Muhammad 2009-02-17 17:12:59 +00:00
parent 0baba6d7b4
commit dc38fc2da3
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,8 @@
What's new in version 0.8.2 What's new in version 0.8.2
* BUGFIX: Fix missing tree view when userland threads are hidden
(thanks to Josh Stone)
* BUGFIX: Fix for VPID on OpenVZ systems * BUGFIX: Fix for VPID on OpenVZ systems
(thanks to Wolfgang Frisch) (thanks to Wolfgang Frisch)

View File

@ -563,9 +563,7 @@ static bool ProcessList_processEntries(ProcessList* this, char* dirname, Process
process->pid = pid; process->pid = pid;
} }
} }
if (parent) { process->tgid = parent ? parent->pid : pid;
process->tgid = parent->pid;
}
if (showUserlandThreads && (!parent || pid != parent->pid)) { if (showUserlandThreads && (!parent || pid != parent->pid)) {
char subdirname[MAX_NAME+1]; char subdirname[MAX_NAME+1];