Branch: Tag:

2023-02-18

2023-02-18 11:57:52 by Tobias S. Josefowitz <tobij@tobij.de>

Runtime: Fix detection for multisets using internal order in o_subtract()

2301:    {    struct mapping *m;    -  int got_cmp_less = !!multiset_get_cmp_less (Pike_sp[-1].u.multiset); +  int got_cmp_less = +  TYPEOF(*multiset_get_cmp_less (Pike_sp[-1].u.multiset)) != +  PIKE_T_INT;    struct array *ind = multiset_indices (Pike_sp[-1].u.multiset);    pop_stack();    push_array (ind);
2614:    {    struct mapping *m;    -  int got_cmp_less = !!multiset_get_cmp_less (Pike_sp[-1].u.multiset); +  int got_cmp_less = +  TYPEOF(*multiset_get_cmp_less (Pike_sp[-1].u.multiset)) != +  PIKE_T_INT;    struct array *ind = multiset_indices (Pike_sp[-1].u.multiset);    pop_stack();    push_array (ind);