OpenGrok
Cross Reference: h_sort.c
xref
: /
src
/
tests
/
lib
/
libc
/
stdlib
/
h_sort.c
Home
|
History
|
Annotate
|
Download
|
only in
stdlib
History log of
/src/tests/lib/libc/stdlib/h_sort.c
Revision
Date
Author
Comments
1.3
02-Mar-2025
riastradh
branches: 1.3.4;
tests/lib/libc/stdlib/h_sort: Reserve room for a NUL byte.
PR lib/58931: qsort_r() missing
1.2
02-Mar-2025
riastradh
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.3.4.2
02-Aug-2025
perseant
Sync with HEAD
1.3.4.1
02-Mar-2025
perseant
file h_sort.c was added on branch perseant-exfatfs on 2025-08-02 05:58:06 +0000
Indexes created Tue Sep 23 02:09:52 GMT 2025