ssuominen 14/08/20 14:39:44 Added: procps-3.3.9-sysctl-load-config-files.patch Log: Apply upstream commit http://gitorious.org/procps/procps/commit/7f6efed9bb85d1e212e06985ea3e06720f6ca949 for sysctl and config file loading problems wrt #520314 by Tobias Klausmann (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Revision Changes Path 1.1 sys-process/procps/files/procps-3.3.9-sysctl-load-config-files.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/procps/files/procps-3.3.9-sysctl-load-config-files.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/procps/files/procps-3.3.9-sysctl-load-config-files.patch?rev=1.1&content-type=text/plain Index: procps-3.3.9-sysctl-load-config-files.patch =================================================================== 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);