This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [COMMITED][v2] manual: Remove incorrect claim that qsort() can be stabilized


OndÅej BÃlka wrote:
+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 last clause is incorrect. C11 and POSIX both require that the addresses passed to the comparison function must point to elements of the original array, and glibc qsort conforms to the standards here. Please fix this.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]