about summary refs log tree commit diff
path: root/stdlib/tst-qsort2.c
Commit message (Collapse)AuthorAgeFilesLines
* stdlib/tst-qsort2.c: Fix off-by-one argc interpretation errorMaciej W. Rozycki2014-06-201-1/+1
| | | | | | | This fixes an off-by-one argc interpretation error (argv[0] is included in the count) in stdlib/tst-qsort2.c causing a segfault if the program is called with one command-line argument only (argv[2] is NULL in that case).
* 2007-10-04 Jakub JelinekUlrich Drepper2007-10-051-0/+89
* stdlib/msort.c: Include stdint.h. (struct msort_param): New type. (msort_with_tmp): Use struct msort_param pointer for unchanging parameters. Add optimized handling for several common sizes and indirect sorting mode. (qsort): Adjust msort_with_tmp callers. For big S use indirect sorting. Suggested by Belazougui Djamel . * stdlib/Makefile (tests): Add tst-qsort2. * stdlib/tst-qsort2.c: New test.