aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-qsort2.c
AgeCommit message (Collapse)Author
2014-06-20stdlib/tst-qsort2.c: Fix off-by-one argc interpretation errorMaciej W. Rozycki
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-052007-10-04 Jakub JelinekUlrich Drepper
* 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.