OpenGrok
Cross Reference: t_sort.sh
xref
: /
src
/
tests
/
lib
/
libc
/
stdlib
/
t_sort.sh
Home
|
History
|
Annotate
|
Download
|
only in
stdlib
History log of
/src/tests/lib/libc/stdlib/t_sort.sh
Revision
Date
Author
Comments
1.2
02-Mar-2025
riastradh
branches: 1.2.4;
t_sort: Test mergesort for stability too.
These test cases are trivial, but they're enough to trigger unstable
heapsort and qsort.
Fix some error branches while here.
PR lib/58931: qsort_r() missing
1.1
02-Mar-2025
riastradh
libc: New _r variants of heapsort, mergesort, qsort.
Also kheapsort_r for kernel/standalone use.
These variants allow the caller to pass a cookie through to the
comparison function, e.g. if you want to sort an array of indices
into a buffer.
qsort_r is new in POSIX.1-2024; the others are obvious analogues of
our nonstandard extensions for heapsort and mergesort.
PR lib/58931: qsort_r() missing
1.2.4.2
02-Aug-2025
perseant
Sync with HEAD
1.2.4.1
02-Mar-2025
perseant
file t_sort.sh was added on branch perseant-exfatfs on 2025-08-02 05:58:06 +0000
Indexes created Fri Sep 26 20:09:58 GMT 2025