summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-07 08:45:22 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-07 08:45:22 -0800
commit802b2fdfe8040d99e2fe1dc27b905fd1c1764c6b (patch)
tree5c9ca2de5d948052d29ecf8d8fd939ba7522a44a /share
parentab77cda50d4483da64415c13f3f398d9c28a21da (diff)
downloadtxr-802b2fdfe8040d99e2fe1dc27b905fd1c1764c6b.tar.gz
txr-802b2fdfe8040d99e2fe1dc27b905fd1c1764c6b.tar.bz2
txr-802b2fdfe8040d99e2fe1dc27b905fd1c1764c6b.zip
multi-sort: bug: always return list of lists.
* lib.c (multi_sort): If any of the input lists is empty, then there is an empty list of tuples to sort, producing a an empty list that doesn't transpose back to a list of empty lists. We code this as a special case.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions