[PATCH v2] manual: Correct guarantee about pointers compared by qsort()

Jonathan Nieder jrnieder@gmail.com
Fri Dec 12 08:26:00 GMT 2014


Anders Kaseorg wrote:

> C99, C11, POSIX, and the glibc implementation do guarantee that the
> pointers passed to the qsort comparison function lie within the array.
>
> (Also, fix a small typographical mistake: @var{qsort} should be
> @code{qsort}.)
>
> Signed-off-by: Anders Kaseorg <andersk@mit.edu>
> ---
>  manual/search.texi | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)

For what it's worth,
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>



More information about the Libc-alpha mailing list