rpms/htop/EL-5 htop-0.8.1-processlist.patch,NONE,1.1
Adam Miller
maxamillion at fedoraproject.org
Thu Feb 5 19:55:16 UTC 2009
Author: maxamillion
Update of /cvs/extras/rpms/htop/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27054
Added Files:
htop-0.8.1-processlist.patch
Log Message:
Added the patch, forgotten from last commit.
htop-0.8.1-processlist.patch:
--- NEW FILE htop-0.8.1-processlist.patch ---
--- 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];
More information about the scm-commits
mailing list