Skip to content
Snippets Groups Projects
Commit ac27e796 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix..

Rev: src/block_alloc.h:1.8
parent e88b9ef2
Branches
Tags
No related merge requests found
/* $Id: block_alloc.h,v 1.7 1999/04/02 02:09:03 hubbe Exp $ */ /* $Id: block_alloc.h,v 1.8 1999/04/02 19:38:35 hubbe Exp $ */
#undef PRE_INIT_BLOCK #undef PRE_INIT_BLOCK
#undef INIT_BLOCK #undef INIT_BLOCK
#undef EXIT_BLOCK #undef EXIT_BLOCK
...@@ -129,6 +129,8 @@ inline struct DATA *PIKE_CONCAT(make_,DATA)(void *ptr, int hval) \ ...@@ -129,6 +129,8 @@ inline struct DATA *PIKE_CONCAT(make_,DATA)(void *ptr, int hval) \
malloc(PIKE_CONCAT(DATA,_hash_table_size)* \ malloc(PIKE_CONCAT(DATA,_hash_table_size)* \
sizeof(struct DATA *)))) \ sizeof(struct DATA *)))) \
{ \ { \
MEMSET(PIKE_CONCAT(DATA,_hash_table),0, \
sizeof(struct DATA *)*PIKE_CONCAT(DATA,_hash_table_size)); \
while(e-- >=0) \ while(e-- >=0) \
{ \ { \
while((p=PIKE_CONCAT(DATA,_hash_table_old)[e])) \ while((p=PIKE_CONCAT(DATA,_hash_table_old)[e])) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment