diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-12-31 07:34:41 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-12-31 07:34:41 -0800 |
commit | 99c41ec1654df41ab027c18559227254d976e59a (patch) | |
tree | d9f7d5f312d7d4e01479e6fb94aef1a6255514c8 /ChangeLog | |
parent | bf5a03f450f26e07a1ccc6f00d9bd0c5659e8591 (diff) | |
download | txr-99c41ec1654df41ab027c18559227254d976e59a.tar.gz txr-99c41ec1654df41ab027c18559227254d976e59a.tar.bz2 txr-99c41ec1654df41ab027c18559227254d976e59a.zip |
* lib.c (replace_str, replace_vec): Bugfix. The replacement item
sequence may be an infinite list in the case that the from argument
specifies a list of indices. We must avoid trying to calculate its
length before we have detected this case.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2014-12-31 Kaz Kylheku <kaz@kylheku.com> + * lib.c (replace_str, replace_vec): Bugfix. The replacement item + sequence may be an infinite list in the case that the from argument + specifies a list of indices. We must avoid trying to calculate its + length before we have detected this case. + +2014-12-31 Kaz Kylheku <kaz@kylheku.com> + * txr.1: Fix error. (set [seq index-list] new) corresponds to replace not to refset. |