diff options
author | Eugene V. Lyubimkin <jackyf.devel@gmail.com> | 2009-03-02 23:17:04 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:24 +0200 |
commit | 375c6648cb948b3cd442b8609d63a42cd530fa0f (patch) | |
tree | b43e9598ea5d71361c7173efde5807d0ae731326 /debian/patches/800-tree-view-without-userland-threads.patch | |
parent | 3a0be376bcc12439d3ee1ebf4d72b425f23d240f (diff) | |
download | debian_htop-375c6648cb948b3cd442b8609d63a42cd530fa0f.tar.gz debian_htop-375c6648cb948b3cd442b8609d63a42cd530fa0f.tar.bz2 debian_htop-375c6648cb948b3cd442b8609d63a42cd530fa0f.zip |
Imported Debian patch 0.8.1-4debian/0.8.1-4
Diffstat (limited to 'debian/patches/800-tree-view-without-userland-threads.patch')
-rw-r--r-- | debian/patches/800-tree-view-without-userland-threads.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/800-tree-view-without-userland-threads.patch b/debian/patches/800-tree-view-without-userland-threads.patch new file mode 100644 index 0000000..22c886d --- /dev/null +++ b/debian/patches/800-tree-view-without-userland-threads.patch @@ -0,0 +1,15 @@ +Index: htop/ProcessList.c +=================================================================== +--- htop.orig/ProcessList.c 2009-02-25 23:08:35.396191440 +0200 ++++ htop/ProcessList.c 2009-02-25 23:10:26.525680664 +0200 +@@ -563,9 +563,7 @@ + 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]; |