import ps_mem-3.6-7.el8

This commit is contained in:
CentOS Sources 2021-03-30 12:26:50 -04:00 committed by Stepan Oksanichenko
parent 380d4cff89
commit c74d4a8b4d
2 changed files with 7 additions and 2 deletions

View File

@ -245,7 +245,7 @@ def getMemStats(pid):
def getCmdName(pid, split_args):
cmdline = proc.open(pid, 'cmdline').read().split("\0")
if cmdline[-1] == '' and len(cmdline) > 1:
while cmdline[-1] == '' and len(cmdline) > 1:
cmdline = cmdline[:-1]
path = proc.path(pid, 'exe')

View File

@ -1,7 +1,7 @@
Name: ps_mem
Version: 3.6
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Memory profiling tool
Group: Applications/System
License: LGPLv2
@ -47,6 +47,11 @@ install -Dpm644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%changelog
* Tue Jun 30 2020 Jan Rybar <jrybar@redhat.com> - 3.6-7
- gating activated
- cmdline unwanted blank spaces fixed
- Resolves: rhbz#1780986
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild