summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-03-09 06:48:06 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-03-09 06:48:06 -0700
commitb6f7c83a321f8043bc4edef12530ae25b1917579 (patch)
tree1032245626c1daa0ce4974f83b0d66e8d2fee124 /struct.c
parentd25ab176441610fb2460fa882bff7f9ce2ba22e9 (diff)
downloadtxr-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