summaryrefslogtreecommitdiffstats
path: root/buf.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-07-20 07:13:05 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-07-20 07:13:05 -0700
commit6503c5f041f2b2791635b2bbcc7e0c9e323aeb84 (patch)
tree885a579e94016ffedd3a9a4ca22842a3daceb490 /buf.h
parent6f7e3aa0e70b85b8d78b8dcaaed92cd376378ece (diff)
downloadtxr-6503c5f041f2b2791635b2bbcc7e0c9e323aeb84.tar.gz
txr-6503c5f041f2b2791635b2bbcc7e0c9e323aeb84.tar.bz2
txr-6503c5f041f2b2791635b2bbcc7e0c9e323aeb84.zip
hash: fix possibly incorrect counts in weak processing.
* hash.c (do_weak_tables): Iterate to the end of each chain, not quitting early when a reachable tail is found. This has the effect that we will always count the nodes properly. Some common code is factored out of the switch also.
Diffstat (limited to 'buf.h')
0 files changed, 0 insertions, 0 deletions