diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2009-01-27 10:23:43 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2009-01-27 10:23:43 +0000 |
commit | 4b61ee2844d5a881ad8a71a22bca18983877e549 (patch) | |
tree | 2212dc24581f511a7d93eea14cbbeb81b99c28f7 /databases/memcached/files/patch-thread.c | |
parent | - Update to 0.19.1 (diff) |
- Fix thread support [1]
- Fix repcached on amd64 updating to repcached 2.2 [2]
- Bump PORTREVISION
PR: 129631 [1], 129767 [2]
Submitted by: Artemiev Igor <ai___kliksys.ru> [1],
Maxim Dounin <mdounin___mdounin.ru> [2]
Notes
Notes:
svn path=/head/; revision=226959
Diffstat (limited to 'databases/memcached/files/patch-thread.c')
-rw-r--r-- | databases/memcached/files/patch-thread.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/memcached/files/patch-thread.c b/databases/memcached/files/patch-thread.c new file mode 100644 index 000000000000..93aa41f3d06d --- /dev/null +++ b/databases/memcached/files/patch-thread.c @@ -0,0 +1,10 @@ +--- thread.c.orig 2009-01-27 00:34:19.000000000 -0200 ++++ thread.c 2009-01-27 00:34:04.000000000 -0200 +@@ -644,6 +644,7 @@ + perror("Can't allocate thread descriptors"); + exit(1); + } ++ memset(threads, 0, sizeof(LIBEVENT_THREAD) * nthreads); + + threads[0].base = main_base; + threads[0].thread_id = pthread_self(); |