Rafał Psota 16 years ago
parent a81d59d153
commit 35721e6e0e

@ -0,0 +1,15 @@
--- 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];

@ -1,6 +1,6 @@
Name: htop
Version: 0.8.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Interactive process viewer
Summary(pl): Interaktywna przeglądarka procesów
@ -9,6 +9,7 @@ License: GPL+
URL: http://htop.sourceforge.net/
Source0: http://download.sourceforge.net/htop/%{name}-%{version}.tar.gz
Patch0: %{name}-0.8.1-nonprint.patch
Patch1: %{name}-0.8.1-processlist.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
@ -26,6 +27,7 @@ do top(1).
%prep
%setup -q
%patch0 -p0
%patch1 -p0
sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in
sed -i -e '2,3d' -e '9d' htop.desktop
@ -63,16 +65,24 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Feb 05 2009 Rafał Psota <rafalzaq@gmail.com> - 0.8.1-3
- "Tree view doesn't work with threads hidden" fixed (#481072)
* Tue Nov 18 2008 Rafał Psota <rafalzaq@gmail.com> - 0.8.1-2
- non-printable character filter patch (#504144)
* Tue Oct 14 2008 Rafał Psota <rafalzaq@gmail.com> - 0.8.1-1
- update to 0.8.1
* Thu Jul 31 2008 Rafał Psota <rafalzaq@gmail.com> - 0.8-1
- udate to 0.8
* Sun Apr 27 2008 Rafał Psota <rafalzaq@gmail.com> - 0.7-2
- desktop file fix
* Mon Feb 11 2008 Rafał Psota <rafalzaq@gmail.com> - 0.7-1
- update to 0.7
* Sat Dec 9 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.5-1
- Update to 0.6.5

Loading…
Cancel
Save