#481072 fix
parent
a81d59d153
commit
35721e6e0e
@ -0,0 +1,15 @@
|
||||
--- ProcessList.c.orig 2008-09-23 08:23:14.000000000 +0200
|
||||
+++ ProcessList.c 2009-02-05 19:11:29.000000000 +0100
|
||||
@@ -563,9 +563,9 @@
|
||||
process->pid = pid;
|
||||
}
|
||||
}
|
||||
- if (parent) {
|
||||
- process->tgid = parent->pid;
|
||||
- }
|
||||
+
|
||||
+ process->tgid = parent ? parent->pid : pid;
|
||||
+
|
||||
|
||||
if (showUserlandThreads && (!parent || pid != parent->pid)) {
|
||||
char subdirname[MAX_NAME+1];
|
Loading…
Reference in new issue