diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-08-20 14:39:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-08-20 14:39:49 +0000 |
commit | 1400fd4531bce1424a43785ba610ab6b27d0667a (patch) | |
tree | 5d197eb3720ea7378f70776efde91a5bd5afd3ae /sys-process/procps/files | |
parent | Version bump. (diff) | |
download | historical-1400fd4531bce1424a43785ba610ab6b27d0667a.tar.gz historical-1400fd4531bce1424a43785ba610ab6b27d0667a.tar.bz2 historical-1400fd4531bce1424a43785ba610ab6b27d0667a.zip |
Apply upstream commit http://gitorious.org/procps/procps/commit/7f6efed9bb85d1e212e06985ea3e06720f6ca949 for sysctl and config file loading problems wrt #520314 by Tobias Klausmann
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-process/procps/files')
-rw-r--r-- | sys-process/procps/files/procps-3.3.9-sysctl-load-config-files.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-process/procps/files/procps-3.3.9-sysctl-load-config-files.patch b/sys-process/procps/files/procps-3.3.9-sysctl-load-config-files.patch new file mode 100644 index 000000000000..c6b0a4a36251 --- /dev/null +++ b/sys-process/procps/files/procps-3.3.9-sysctl-load-config-files.patch @@ -0,0 +1,14 @@ +http://bugs.gentoo.org/520314 +http://gitorious.org/procps/procps/commit/7f6efed9bb85d1e212e06985ea3e06720f6ca949 + +--- sysctl.c ++++ sysctl.c +@@ -640,7 +640,7 @@ + } + + +- if (stat(DEFAULT_PRELOAD, &ts) < 0 && S_ISREG(ts.st_mode)) { ++ if (stat(DEFAULT_PRELOAD, &ts) == 0 && S_ISREG(ts.st_mode)) { + if (!Quiet) + printf(_("* Applying %s ...\n"), DEFAULT_PRELOAD); + rc |= Preload(DEFAULT_PRELOAD); |