fixes for crash on x86_64 and startup script problems, patch properly
This commit is contained in:
parent
97b23d0441
commit
fdeed36612
@ -9,7 +9,7 @@
|
|||||||
- save_pid(getpid(), pid_file);
|
- save_pid(getpid(), pid_file);
|
||||||
/* start up worker threads if MT mode */
|
/* start up worker threads if MT mode */
|
||||||
thread_init(settings.num_threads, main_base);
|
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 */
|
+ a file descriptor handling bug somewhere in libevent */
|
||||||
+ if (daemonize)
|
+ if (daemonize)
|
||||||
+ save_pid(getpid(), pid_file);
|
+ save_pid(getpid(), pid_file);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: memcached
|
Name: memcached
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: High Performance, Distributed Memory Object Cache
|
Summary: High Performance, Distributed Memory Object Cache
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -105,7 +105,7 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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 problem with -P and -d flag combo on x86_64
|
||||||
- Fix init script for FC-6
|
- Fix init script for FC-6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user