* The following bugs are resolved with this release:
- 6652, 12847, 12926, 13862, 14132, 14138, 14171, 14498, 15215, 15884,
- 16469, 16619, 16740, 16857, 17192, 17266, 17344, 17363, 17370, 17371,
- 17411, 17460, 17475, 17485, 17501, 17506, 17508, 17522, 17555, 17570,
- 17571, 17572, 17573, 17574, 17581, 17582, 17583, 17584, 17585, 17589,
- 17594, 17601, 17608, 17616, 17625, 17633, 17647, 17653, 17664, 17665,
- 17668, 17682.
+ 6652, 10672, 12847, 12926, 13862, 14132, 14138, 14171, 14498, 15215,
+ 15884, 16469, 16619, 16740, 16857, 17192, 17266, 17344, 17363, 17370,
+ 17371, 17411, 17460, 17475, 17485, 17501, 17506, 17508, 17522, 17555,
+ 17570, 17571, 17572, 17573, 17574, 17581, 17582, 17583, 17584, 17585,
+ 17589, 17594, 17601, 17608, 17616, 17625, 17633, 17647, 17653, 17664,
+ 17665, 17668, 17682.
* CVE-2104-7817 The wordexp function could ignore the WRDE_NOCMD flag
under certain input conditions resulting in the execution of a shell for
the elements. Two elements with the same sort key may differ in other
respects.
-If you want the effect of a stable sort, you can get this result by
-writing the comparison function so that, lacking other reason
-distinguish between two elements, it compares them by their addresses.
-Note that doing this may make the sorting algorithm less efficient, so
-do it only if necessary.
+The addresses passed to the comparison function need not correspond with
+the original location of the objects, and need not even lie within the
+original array. The only way to perform a stable sort with @var{qsort}
+is to first augment the objects with a monotonic counter of some kind.
Here is a simple example of sorting an array of doubles in numerical
order, using the comparison function defined above (@pxref{Comparison