diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-20 07:13:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-20 07:13:05 -0700 |
commit | 6503c5f041f2b2791635b2bbcc7e0c9e323aeb84 (patch) | |
tree | 885a579e94016ffedd3a9a4ca22842a3daceb490 /buf.h | |
parent | 6f7e3aa0e70b85b8d78b8dcaaed92cd376378ece (diff) | |
download | txr-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