Revised some code from PR#352 in response to questions from Darryl

Miles.  Updated the version number to go along with the merge of
a number of pull requests done today.
This commit is contained in:
Tim Edwards 2024-12-26 15:29:54 -05:00
parent 55d15ffaa5
commit 8371d797ad
3 changed files with 6 additions and 5 deletions

View File

@ -1 +1 @@
8.3.508 8.3.509

View File

@ -585,9 +585,7 @@ irWzdSetBloomLimit(s,file)
char *s; char *s;
FILE *file; FILE *file;
{ {
dlong tmp; SetNoisyInt(&(irMazeParms->mp_bloomLimit),s,file);
SetNoisyDI(&tmp,s,file);
irMazeParms->mp_bloomLimit = tmp; /* FIXME should this be truncated ? */
} }
/* irWzdSetBoundsIncrement -- */ /* irWzdSetBoundsIncrement -- */

View File

@ -692,11 +692,14 @@ HashKill(table)
for (hp = table->ht_table, hend = &hp[table->ht_size]; hp < hend; hp++) for (hp = table->ht_table, hend = &hp[table->ht_size]; hp < hend; hp++)
for (h = *hp; h != NIL; h = h->h_next) for (h = *hp; h != NIL; h = h->h_next)
{ {
const void *p = h->h_key.h_ptr; const void *p;
freeMagic((char *) h); freeMagic((char *) h);
if (killFn) if (killFn)
{
p = h->h_key.h_ptr;
(*killFn)((void *)p); (*killFn)((void *)p);
} }
}
freeMagic((char *) table->ht_table); freeMagic((char *) table->ht_table);
/* /*