diff options
author | Patrick D. Hunt <phunt@apache.org> | 2008-10-14 20:28:59 +0000 |
---|---|---|
committer | Patrick D. Hunt <phunt@apache.org> | 2008-10-14 20:28:59 +0000 |
commit | f15c156be0ac92b252882be6d9e15058882ecfd9 (patch) | |
tree | d120ddc74f02c3822202dd5426fe225b094bbaa8 | |
parent | a673b0e0cd085b340d451169fe5bfced9a162955 (diff) | |
download | zookeeper-f15c156be0ac92b252882be6d9e15058882ecfd9.tar.gz |
ZOOKEEPER-184. tests: An explicit include derective is needed for the usage of memcpy(), memset(), strlen(), strdup() and free() functions --- also addressed some missing jiras from CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@704667 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CHANGES.txt | 19 | ||||
-rw-r--r-- | src/c/tests/LibCMocks.h | 1 | ||||
-rw-r--r-- | src/c/tests/TestHashtable.cc | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index fbacdf35a..685969538 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -16,10 +16,29 @@ Non-backward compatible changes: ZOOKEEPER-8. Stat enchaned to include num of children and size (phunt) + ZOOKEEPER-6. List of problem identifiers in zookeeper.h + (phunt) + + ZOOKEEPER-7. Use enums rather than ints for types and state + (Jakob Homan via mahadev) + + ZOOKEEPER-27. Unique DB identifiers for servers and clients + (mahadev) + + ZOOKEEPER-32. CRCs for ZooKeeper data + (mahadev) + + ZOOKEEPER-33. Better ACL management + (mahadev) + Backward compatibile changes: BUGFIXES: + ZOOKEEPER-184. tests: An explicit include derective is needed for the usage + of memcpy(), memset(), strlen(), strdup() and free() functions + (Maxim P. Dementiev via phunt) + ZOOKEEPER-183. Array subscript is above array bounds in od_completion(), src/cli.c. (Maxim P. Dementiev via phunt) diff --git a/src/c/tests/LibCMocks.h b/src/c/tests/LibCMocks.h index 4817080d9..5b07cdae9 100644 --- a/src/c/tests/LibCMocks.h +++ b/src/c/tests/LibCMocks.h @@ -24,6 +24,7 @@ #include <deque> #include <errno.h> +#include <string.h> #include "MocksBase.h" #include "LibCSymTable.h" diff --git a/src/c/tests/TestHashtable.cc b/src/c/tests/TestHashtable.cc index ac4cc41ae..4c4cf7275 100644 --- a/src/c/tests/TestHashtable.cc +++ b/src/c/tests/TestHashtable.cc @@ -19,6 +19,7 @@ #include <cppunit/extensions/HelperMacros.h> #include "CppAssertHelper.h" +#include <stdlib.h> #include "CollectionUtil.h" using namespace Util; |