summaryrefslogtreecommitdiffstats
path: root/mpi/mpi.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-20 07:04:25 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-20 07:04:25 -0700
commita2070859046272265a0370fc83f93f8e0a484128 (patch)
tree0b20c85c5f13dc39241e58f8929e9a85507a70dc /mpi/mpi.c
parent5dc6f379ce7c149a6f875ed69158db2b303285bc (diff)
downloadtxr-a2070859046272265a0370fc83f93f8e0a484128.tar.gz
txr-a2070859046272265a0370fc83f93f8e0a484128.tar.bz2
txr-a2070859046272265a0370fc83f93f8e0a484128.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 'mpi/mpi.c')
0 files changed, 0 insertions, 0 deletions