diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-04-20 07:04:25 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-04-20 07:04:25 -0700 |
commit | 005baf51e44ea40387717665aac2e6b9ec5fd617 (patch) | |
tree | 0b20c85c5f13dc39241e58f8929e9a85507a70dc /txr.1 | |
parent | 257c53a6f0aa7b1926376c8e0fbcaec4b6c7a295 (diff) | |
download | txr-005baf51e44ea40387717665aac2e6b9ec5fd617.tar.gz txr-005baf51e44ea40387717665aac2e6b9ec5fd617.tar.bz2 txr-005baf51e44ea40387717665aac2e6b9ec5fd617.zip |
seq_info: bugfix: uninitialized type field.
* lib.c (seq_info): Ensure the type field in the returned
structure is inintialized. We are neglecting this when the
type is COBJ, initializing only the kind field. This makes
the in function behave unreliably over arguments that
are hash tables, or vector-like sequences (objects with
a length function or the carray type). Several other functions
will behave unreliably for vector-like sequences: reverse,
find, rfind, pos, rpos and tprint.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions