diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-16 06:02:47 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-16 06:02:47 -0800 |
commit | 2bc41c8920513856daa73018e6b9f9c54f456fe2 (patch) | |
tree | 7fa96ec4b7f9cb26f9220cb2f06cd2876967bedc /signal.h | |
parent | 21f9fb76746b1513e483a5a18b2e38e835b367a3 (diff) | |
download | txr-2bc41c8920513856daa73018e6b9f9c54f456fe2.tar.gz txr-2bc41c8920513856daa73018e6b9f9c54f456fe2.tar.bz2 txr-2bc41c8920513856daa73018e6b9f9c54f456fe2.zip |
bugfix: nil from in replace wrongly treated as 0.
* lib.c (replace_list, replace_str, replace_vec): The from
argument must be checked to be a list using listp not consp.
The legacy convention that nil is treated as missing does not
work in this function as it does in sub.
Diffstat (limited to 'signal.h')
0 files changed, 0 insertions, 0 deletions