From: Allan McRae Date: Sat, 12 Apr 2014 04:26:29 +0000 (+1000) Subject: Fix qsort argument order in collation example X-Git-Tag: glibc-2.20~631 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89e691f2ae498c6d6eac34cccda0bdcaca13717e;p=platform%2Fupstream%2Fglibc.git Fix qsort argument order in collation example --- diff --git a/ChangeLog b/ChangeLog index 2acfaf7..a42e08e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2014-04-12 Allan McRae + + [BZ #16838] + * manual/string.texi (Collation Functions): Fix qsort argument + order in example. + Reported by David C. Rankin . + 2014-04-11 Chris Metcalf * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test): diff --git a/NEWS b/NEWS index c751491..bbcc223 100644 --- a/NEWS +++ b/NEWS @@ -14,7 +14,7 @@ Version 2.20 16610, 16611, 16613, 16623, 16632, 16634, 16639, 16642, 16648, 16649, 16670, 16674, 16677, 16680, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713, 16714, 16731, 16739, 16743, 16758, 16759, 16760, 16770, - 16786, 16789, 16799, 16800, 16815. + 16786, 16789, 16799, 16800, 16815, 16838. * Running the testsuite no longer terminates as soon as a test fails. Instead, a file tests.sum (xtests.sum from "make xcheck") is generated, diff --git a/manual/string.texi b/manual/string.texi index 4437ddd..ba5a2c7 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1572,8 +1572,8 @@ sort_strings_fast (char **array, int nstrings) @} /* @r{Sort @code{temp_array} by comparing transformed strings.} */ - qsort (temp_array, sizeof (struct sorter), - nstrings, compare_elements); + qsort (temp_array, nstrings, + sizeof (struct sorter), compare_elements); /* @r{Put the elements back in the permanent array} @r{in their sorted order.} */