diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-03-09 06:48:06 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-03-09 06:48:06 -0700 |
commit | b6f7c83a321f8043bc4edef12530ae25b1917579 (patch) | |
tree | 1032245626c1daa0ce4974f83b0d66e8d2fee124 /struct.c | |
parent | d25ab176441610fb2460fa882bff7f9ce2ba22e9 (diff) | |
download | txr-b6f7c83a321f8043bc4edef12530ae25b1917579.tar.gz txr-b6f7c83a321f8043bc4edef12530ae25b1917579.tar.bz2 txr-b6f7c83a321f8043bc4edef12530ae25b1917579.zip |
hash: bugfix: maintain counts in weak processing.
* hash.c (do_weak_tables): Update the count field of each weak
hash to account for the entries that get removed by expiry.
Also, loop variable moves into a tighter scope.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions