73 } |
73 } |
74 + memset(threads, 0, sizeof(LIBEVENT_THREAD) * nthreads); |
74 + memset(threads, 0, sizeof(LIBEVENT_THREAD) * nthreads); |
75 |
75 |
76 dispatcher_thread.base = main_base; |
76 dispatcher_thread.base = main_base; |
77 dispatcher_thread.thread_id = pthread_self(); |
77 dispatcher_thread.thread_id = pthread_self(); |
|
78 Index: libmemcache-1.4.0.rc2/src/buffer.c |
|
79 --- libmemcache-1.4.0.rc2/src/buffer.c.orig 2009-11-25 18:36:18.468286813 +0100 |
|
80 +++ libmemcache-1.4.0.rc2/src/buffer.c 2009-11-25 18:36:20.700402681 +0100 |
|
81 @@ -36,6 +36,7 @@ |
|
82 #include <sys/uio.h> |
|
83 #include <unistd.h> |
|
84 #include <sys/errno.h> |
|
85 +#include <errno.h> |
|
86 |
|
87 #include "memcache/buffer.h" |
|
88 |