summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/qsort.c
AgeCommit message (Expand)Author
2025-08-15libc: Drop incorrect qsort optimizationDag-Erling Smørgrav
2023-11-26lib: Remove ancient SCCS tags.Warner Losh
2023-11-01libc: Purge unneeded cdefs.hWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-04-19libc: Sorting is not needed when there are less than two elementsHans Petter Selasky
2023-04-19libc: Add missing object size check to qsort_s(3)Hans Petter Selasky
2022-09-30Alter the prototype of qsort_r(3) to match POSIX, which adopted theEd Schouten
2022-01-13qsort.c: prevent undefined behaviorStefan Eßer
2021-07-28libc qsort(3): Eliminate ambiguous sign comparisonConrad Meyer
2021-02-18libc/qsort: Don't allow interposing recursive callsAlex Richardson
2020-01-20Add qsort_s(3). Apart from the constraints, it also makes it easierEdward Tomasz Napierala
2018-06-10libc qsort(3): stop aliasing.Konstantin Belousov
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-05-19The current qsort(3) implementation ignores the sizes of partitions, andXin LI
2017-05-19Use size_t.Xin LI
2015-09-20Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.Craig Rodrigues
2015-03-05qsort(3): small style(9) cleanups.Pedro F. Giffuni
2015-03-05qsort(3): enhance to handle 32-bit aligned data on 64-bit systemsPedro F. Giffuni
2013-06-13Renumber clauses to reduce diffs to other versionsEd Maste
2008-01-14Changing 'r' to a size_t in the previous commit turned quicksortDavid Schultz
2008-01-13Use size_t to avoid overflow when sorting arrays larger than 2 GB.David Schultz
2007-01-09Per Regents of the University of Calfornia letter, remove advertisingWarner Losh
2002-09-10Implement C99's _Exit() interface.Garrett Wollman
2002-03-22Fix the style of the SCM ID's.David E. O'Brien
2002-03-21Remove __P() usage.David E. O'Brien
2002-03-21Remove 'register' keyword.David E. O'Brien
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
1996-08-31Don't depend in the kernel on the gcc feature of doing arithmetic onBruce Evans
1996-04-19Don't include <sys/types.h> when it isn't used.Bruce Evans
1995-12-26Added prototypes.Bruce Evans
1995-05-30Remove trailing whitespace.Rodney W. Grimes
1994-05-27BSD 4.4 Lite Lib SourcesRodney W. Grimes