mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
12 lines
636 B
Diff
12 lines
636 B
Diff
diff -ur htop-0.8.1.orig/ProcessList.c htop-0.8.1/ProcessList.c
|
|
--- htop-0.8.1.orig/ProcessList.c 2008-09-23 08:23:14.000000000 +0200
|
|
+++ htop-0.8.1/ProcessList.c 2008-12-09 15:14:56.000000000 +0100
|
|
@@ -331,7 +331,7 @@
|
|
|
|
for (int i = Vector_size(this->processes) - 1; i >= 0; i--) {
|
|
Process* process = (Process*) (Vector_get(this->processes, i));
|
|
- if (process->tgid == pid || (process->tgid == process->pid && process->ppid == pid)) {
|
|
+ if (process->tgid == pid || process->ppid == pid) {
|
|
Process* process = (Process*) (Vector_take(this->processes, i));
|
|
Vector_add(children, process);
|
|
}
|