summaryrefslogtreecommitdiffstats
path: root/txr-embedded-arg.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-10-23 06:35:35 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-10-23 06:35:35 -0700
commit09ababf4284febbc9c96a62e6711826d110e3eb1 (patch)
tree06c07a6fcda4d4e29048fb688c83100ccc903c1f /txr-embedded-arg.txr
parent6fb9b42ea256a50d00d4e3c3e37cb7866c4baf29 (diff)
downloadtxr-09ababf4284febbc9c96a62e6711826d110e3eb1.tar.gz
txr-09ababf4284febbc9c96a62e6711826d110e3eb1.tar.bz2
txr-09ababf4284febbc9c96a62e6711826d110e3eb1.zip
hash: fix broken copy_hash.
Impact assessment: this bug affects the correctness of all programs which rely on copying hash tables. Direct reliance means the use of copy-hash, or using the generic copy function on hash objects. Indirect reliance occurs through hash-diff which uses copy-hash. Nothing in TXR itself calls hash-diff. The the listener's Tab completion relies on copy-hash for package-sensitive symbol visibility calculation. Since that is an interactive feature, the impact is low. * hash.c (copy_hash_chain): New static function. (copy_hash): Use copy_hash_chain instead of copy_alist, since the pairs are hash conses and not regular conses: they have a hash value field that must be copied.
Diffstat (limited to 'txr-embedded-arg.txr')
0 files changed, 0 insertions, 0 deletions