From: Pavel Charvat Date: Wed, 12 Dec 2007 11:41:52 +0000 (+0100) Subject: UCW: Backported small bugfixes in hashtables. X-Git-Tag: holmes-import~476^2~2^2~1 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=d6179d70a205178cca9bd1079aef05347baafef6;p=libucw.git UCW: Backported small bugfixes in hashtables. --- diff --git a/lib/hashtable.h b/lib/hashtable.h index 4dc223fe..552e88ea 100644 --- a/lib/hashtable.h +++ b/lib/hashtable.h @@ -401,8 +401,8 @@ static void P(init) (TA) #else T.hash_hard_max = 1 << 28; #endif - P(alloc_table)(TT); P(init_alloc)(TT); + P(alloc_table)(TT); } #ifdef HASH_WANT_CLEANUP @@ -644,6 +644,8 @@ do { \ #undef HASH_KEY_DECL #undef HASH_KEY_ENDSTRING #undef HASH_KEY_STRING +#undef HASH_KEY_MEMORY +#undef HASH_KEY_SIZE #undef HASH_NOCASE #undef HASH_NODE #undef HASH_PREFIX