Dr. Werner Fink 2012-06-06 12:02:05 +00:00 committed by Git OBS Bridge
parent 25991e5400
commit ab42b79888
3 changed files with 18 additions and 0 deletions

10
procps-v3.3.3-pwdx.patch Normal file
View File

@ -0,0 +1,10 @@
--- pwdx.c
+++ pwdx.c 2012-06-06 11:59:43.166745435 +0000
@@ -107,6 +107,7 @@ int main(int argc, char *argv[])
buflen = 10 + strlen(argv[i]) + 1;
buf = xmalloc(buflen);
+ errno = 0;
if (check_pid_argument(argv[i]))
xerrx(EXIT_FAILURE, _("invalid process id: %s"),
argv[i]);

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 6 12:00:54 UTC 2012 - werner@suse.de
- Avoid to be fooled by a former errno due not existing system
file as this might cause failing pwdx
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 6 11:43:55 UTC 2012 - werner@suse.de Wed Jun 6 11:43:55 UTC 2012 - werner@suse.de

View File

@ -58,6 +58,7 @@ Patch17: procps-v3.3.3-read-sysctls-also-from-boot-sysctl.conf-kernelvers
Patch18: procps-v3.3.3-petabytes.patch Patch18: procps-v3.3.3-petabytes.patch
Patch19: procps-v3.3.3-large_pcpu.patch Patch19: procps-v3.3.3-large_pcpu.patch
Patch20: procps-v3.3.3-tinfo.dif Patch20: procps-v3.3.3-tinfo.dif
Patch21: procps-v3.3.3-pwdx.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -120,6 +121,7 @@ the process information pseudo-file system,
%patch18 %patch18
%patch19 %patch19
%patch20 %patch20
%patch21
%build %build
sh po/update-potfiles sh po/update-potfiles