fixes for crash on x86_64 and startup script problems, patch properly

This commit is contained in:
Paul Lindner 2007-08-06 15:21:47 +00:00
parent 97b23d0441
commit fdeed36612
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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 <lindner@inuus.com> - 1.2.3-5
* Mon Aug 6 2007 Paul Lindner <lindner@inuus.com> - 1.2.3-7
- Fix problem with -P and -d flag combo on x86_64
- Fix init script for FC-6