mescc: Mes C Library: Fix qsort to support duplicate entries.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 27 Aug 2018 20:37:12 +0000 (22:37 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 27 Aug 2018 20:37:12 +0000 (22:37 +0200)
commitf22cc0c173b6d9c40cbe82bdb823ecf59f064591
tree3d17405c949ae7eed5b67b718382c691f82549f1
parent06e9dd4bceddb1b1ad54d8e81722c3a53707fe17
mescc: Mes C Library: Fix qsort to support duplicate entries.

* lib/stdlib/qsort.c (qpart): Handle dupes.
* scaffold/tests/81-qsort-dupes.c: New file.
* build-aux/check-mescc.sh (tests): Run it.
build-aux/check-mescc.sh
lib/stdlib/qsort.c
scaffold/tests/81-qsort-dupes.c [new file with mode: 0644]