diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-04-03 17:02:11 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-04-03 17:02:11 -0700 |
commit | 6934d519958914508da133a6d5851811220e46fb (patch) | |
tree | 79b69842c66141f924913d7533feb228dcf6f258 /tests | |
parent | 2561b623c178a08de9cdcda35a5a5fc8f83bdaf7 (diff) | |
download | txr-6934d519958914508da133a6d5851811220e46fb.tar.gz txr-6934d519958914508da133a6d5851811220e46fb.tar.bz2 txr-6934d519958914508da133a6d5851811220e46fb.zip |
Fix failing test case tests/006/freeform-1.txr.
* lib.c (lazy_str_force, lazy_str_force_upto): Use set macro
when assigning lim. This won't cause a problem unless lim is
in the bignum range, however.
(acons_new, aconsq_new): When overwriting the cdr value of
the existing entry, use set. This is the smoking gun;
these functions are used for manipulating bindings.
(sort): After sorting a list, we must mark it as having
been mutated. If a list contains only mature conses or only
fresh conses, there is no problem. But if it contains a mixture,
then sorting could reverse their relationship, causing mature
conses to backpoint to the fresh ones.
(obj_init): Use set when installing the t symbol into the user package.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions