Am Dienstag, 16. Januar 2024, 03:16:55 CET schrieb Kuan-Wei Chiu: > Ensure correct behavior in cases with exactly two elements, and malloc > fails when allocating a buffer. Additionally, adjust the testing > approach to validate the correctness of heapsort for such cases. > > Thanks, > Kuan-Wei > > Kuan-Wei Chiu (2): > stdlib: Fix heapsort for cases with exactly two elements > stdlib: Verify heapsort for two-element cases > > stdlib/qsort.c | 2 +- > stdlib/tst-qsort4.c | 4 +--- > 2 files changed, 2 insertions(+), 4 deletions(-) OK -- Andreas K. Hüttel dilfridge@gentoo.org Gentoo Linux developer (council, comrel, toolchain, base-system, perl, libreoffice) https://wiki.gentoo.org/wiki/User:Dilfridge