From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/memcached/files: memcached-1.2.2-p-threads.patch digest-memcached-1.2.2-r2 |
Date: | Tue, 27 Nov 2007 00:04:43 |
Message-Id: | E1IwnwM-0003CY-Kl@stork.gentoo.org |
1 | robbat2 07/11/27 00:04:38 |
2 | |
3 | Added: memcached-1.2.2-p-threads.patch |
4 | digest-memcached-1.2.2-r2 |
5 | Log: |
6 | Add bugfix for -P + thread usage segfault per bug 195248. |
7 | (Portage version: 2.1.3.19) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/memcached/files/memcached-1.2.2-p-threads.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/files/memcached-1.2.2-p-threads.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/files/memcached-1.2.2-p-threads.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: memcached-1.2.2-p-threads.patch |
16 | =================================================================== |
17 | http://lists.danga.com/pipermail/memcached/2007-October/005415.html |
18 | http://bugs.gentoo.org/show_bug.cgi?id=195248 |
19 | Index: /trunk/server/memcached.c |
20 | =================================================================== |
21 | --- /trunk/server/memcached.c (revision 595) |
22 | +++ /trunk/server/memcached.c (revision 604) |
23 | @@ -2698,9 +2698,10 @@ |
24 | exit(EXIT_FAILURE); |
25 | } |
26 | - /* save the PID in if we're a daemon */ |
27 | + /* start up worker threads if MT mode */ |
28 | + thread_init(settings.num_threads, main_base); |
29 | + /* save the PID in if we're a daemon, do this after thread_init due to |
30 | + a file descriptor handling bug somewhere in libevent */ |
31 | if (daemonize) |
32 | save_pid(getpid(), pid_file); |
33 | - /* start up worker threads if MT mode */ |
34 | - thread_init(settings.num_threads, main_base); |
35 | /* initialise clock event */ |
36 | clock_handler(0, 0, 0); |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-misc/memcached/files/digest-memcached-1.2.2-r2 |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/files/digest-memcached-1.2.2-r2?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/memcached/files/digest-memcached-1.2.2-r2?rev=1.1&content-type=text/plain |
45 | |
46 | Index: digest-memcached-1.2.2-r2 |
47 | =================================================================== |
48 | MD5 a08851f7fa7b15e92ee6320b7a79c321 memcached-1.2.2.tar.gz 166201 |
49 | RMD160 78dd094efb9b17a5e80a631690b929b3a4427854 memcached-1.2.2.tar.gz 166201 |
50 | SHA256 8dbaedb88b8f9c61b977cf6e670bb3b0f172c357169ccba1c8362230bfdc7cf7 memcached-1.2.2.tar.gz 166201 |
51 | |
52 | |
53 | |
54 | -- |
55 | gentoo-commits@g.o mailing list |