You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
448 B
16 lines
448 B
16 years ago
|
--- 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];
|