From fdeed36612ef971460e62f99a327ec2242953a04 Mon Sep 17 00:00:00 2001 From: Paul Lindner Date: Mon, 6 Aug 2007 15:21:47 +0000 Subject: [PATCH] fixes for crash on x86_64 and startup script problems, patch properly --- memcached-1.2.3-save_pid_fix.patch | 2 +- memcached.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/memcached-1.2.3-save_pid_fix.patch b/memcached-1.2.3-save_pid_fix.patch index 9b8ab38..70d5bc2 100644 --- a/memcached-1.2.3-save_pid_fix.patch +++ b/memcached-1.2.3-save_pid_fix.patch @@ -9,7 +9,7 @@ - save_pid(getpid(), pid_file); /* start up worker threads if MT mode */ thread_init(settings.num_threads, main_base); -+ /* save the PID in if we're a daemon, do this after thread_init due to ++ /* save the PID in if we're a daemon, do this after thread_init due to + a file descriptor handling bug somewhere in libevent */ + if (daemonize) + save_pid(getpid(), pid_file); diff --git a/memcached.spec b/memcached.spec index bd04163..46dfc97 100644 --- a/memcached.spec +++ b/memcached.spec @@ -1,6 +1,6 @@ Name: memcached Version: 1.2.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: High Performance, Distributed Memory Object Cache Group: System Environment/Daemons @@ -105,7 +105,7 @@ exit 0 %changelog -* Mon Aug 6 2007 Paul Lindner - 1.2.3-5 +* Mon Aug 6 2007 Paul Lindner - 1.2.3-7 - Fix problem with -P and -d flag combo on x86_64 - Fix init script for FC-6