diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-02-01 07:22:40 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-02-01 07:22:40 -0800 |
commit | fb8b7312de0fa42fe9b544aca54d1ee05518bf40 (patch) | |
tree | 08bc4990f07d3489819940241417f0d5fdf68e69 /lib.h | |
parent | 6c14ce4f78a762cb9ad88a336289451d1ca0e326 (diff) | |
download | txr-fb8b7312de0fa42fe9b544aca54d1ee05518bf40.tar.gz txr-fb8b7312de0fa42fe9b544aca54d1ee05518bf40.tar.bz2 txr-fb8b7312de0fa42fe9b544aca54d1ee05518bf40.zip |
hash-eql: regression: always returns zero.
* hash.c (hash_eql): Use hash_traversal_limit for
the initial value of the limit rather than zero.
Commit 84e9903c27ede099e2361e15b16a05c6aa4dc819 in October
2019 fixed eql_hash to actually make use of the limit, which
broke the assumption that we could use zero.
* tests/010/hash.tl: Add a few tests for hash-equal and
hash-eql.
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions