diff -u htop-0.8/debian/changelog htop-0.8/debian/changelog --- htop-0.8/debian/changelog +++ htop-0.8/debian/changelog @@ -1,3 +1,10 @@ +htop (0.8-0ubuntu2) intrepid; urgency=low + + * Fix tree view when userland threads are hidden. + (LP: #298232) Thanks to Josh Stone. + + -- Andy Brody Tue, 06 Jan 2009 15:26:11 -0500 + htop (0.8-0ubuntu1) intrepid; urgency=low * New upstream release (LP: #249997) only in patch2: unchanged: --- htop-0.8.orig/ProcessList.c +++ htop-0.8/ProcessList.c @@ -561,9 +561,7 @@ process->pid = pid; } } - if (parent) { - process->tgid = parent->pid; - } + process->tgid = parent ? parent->pid : pid; #ifdef HAVE_TASKSTATS ProcessList_readIoFile(this, process, dirname, name);