This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] manual: Correct guarantee about pointers compared by qsort()
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Anders Kaseorg <andersk at mit dot edu>
- Cc: Florian Weimer <fweimer at redhat dot com>, Andreas Schwab <schwab at suse dot de>, Paul Eggert <eggert at cs dot ucla dot edu>, libc-alpha at sourceware dot org
- Date: Sun, 21 Dec 2014 14:13:09 +0100
- Subject: Re: [PATCH v2] manual: Correct guarantee about pointers compared by qsort()
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1412110532540 dot 37899 at buzzword-bingo dot mit dot edu>
On Thu, Dec 11, 2014 at 05:33:22AM -0500, 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}.)
>
ok, I commited this addendum.