jer 14/12/22 21:04:41 Added: slock-1.2-dontdieonme.patch Log: Version bump. (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.1 x11-misc/slock/files/slock-1.2-dontdieonme.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slock/files/slock-1.2-dontdieonme.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slock/files/slock-1.2-dontdieonme.patch?rev=1.1&content-type=text/plain Index: slock-1.2-dontdieonme.patch =================================================================== --- a/slock.c +++ b/slock.c @@ -57,7 +57,7 @@ if (fd < 0 && errno == ENOENT) return; if (fd < 0 || write(fd, "-1000\n", 6) != 6 || close(fd) != 0) - die("cannot disable the out-of-memory killer for this process\n"); + fprintf(stderr, "cannot disable the out-of-memory killer for this process\n"); } #endif
