rpms/psmisc/devel psmisc-22.6-pstree-overflow.patch, NONE, 1.1 psmisc.spec, 1.48, 1.49
Tomas Smetana (tsmetana)
fedora-extras-commits at redhat.com
Mon Apr 14 12:03:34 UTC 2008
- Previous message (by thread): rpms/psmisc/F-8 psmisc-22.6-pstree-overflow.patch, NONE, 1.1 psmisc.spec, 1.41, 1.42
- Next message (by thread): rpms/postgis/EL-4 .cvsignore, 1.5, 1.6 postgis.spec, 1.9, 1.10 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tsmetana
Update of /cvs/pkgs/rpms/psmisc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32129
Modified Files:
psmisc.spec
Added Files:
psmisc-22.6-pstree-overflow.patch
Log Message:
* Mon Apr 14 2008 Tomas Smetana <tsmetana at redhat.com> 22.6-6
- fix #441871 - pstree fails to show most processes;
patch by Emil Jerabek
psmisc-22.6-pstree-overflow.patch:
--- NEW FILE psmisc-22.6-pstree-overflow.patch ---
diff -up psmisc-22.6/src/pstree.c.overflow psmisc-22.6/src/pstree.c
--- psmisc-22.6/src/pstree.c.overflow 2008-04-14 12:53:07.000000000 +0200
+++ psmisc-22.6/src/pstree.c 2008-04-14 13:05:51.000000000 +0200
@@ -608,6 +608,7 @@ read_proc (void)
perror (path);
exit (1);
}
+ memset(readbuf, '\0', BUFSIZ + 1);
fread(readbuf, BUFSIZ, 1, file) ;
if (ferror(file) == 0)
{
Index: psmisc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/psmisc/devel/psmisc.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- psmisc.spec 7 Apr 2008 10:34:10 -0000 1.48
+++ psmisc.spec 14 Apr 2008 12:02:55 -0000 1.49
@@ -1,7 +1,7 @@
Summary: Utilities for managing processes on your system
Name: psmisc
Version: 22.6
-Release: 5%{?dist}
+Release: 6%{?dist}
License: BSD/GPLv2+
Group: Applications/System
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -9,6 +9,7 @@
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: psmisc-22.6-types.patch
+Patch1: psmisc-22.6-pstree-overflow.patch
BuildRequires: libselinux-devel
BuildRequires: gettext
@@ -26,6 +27,7 @@
%prep
%setup -q
%patch -p1 -b .types
+%patch1 -p1 -b .overflow
%build
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
@@ -66,6 +68,10 @@
%endif
%changelog
+* Mon Apr 14 2008 Tomas Smetana <tsmetana at redhat.com> 22.6-6
+- fix #441871 - pstree fails to show most processes;
+ patch by Emil Jerabek
+
* Mon Apr 07 2008 Tomas Smetana <tsmetana at redhat.com> 22.6-5
- fix configure.ac to include all the required headers for peekfd
- remove kernel-headers again -- not needed in rawhide
- Previous message (by thread): rpms/psmisc/F-8 psmisc-22.6-pstree-overflow.patch, NONE, 1.1 psmisc.spec, 1.41, 1.42
- Next message (by thread): rpms/postgis/EL-4 .cvsignore, 1.5, 1.6 postgis.spec, 1.9, 1.10 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list