This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: BUG: qsort reorders elements in already sorted array
On Wed, Jun 04, 2003 at 03:13:25PM -0400, Christopher Faylor wrote:
> On Wed, Jun 04, 2003 at 06:42:07PM +0200, Corinna Vinschen wrote:
> >On Wed, Jun 04, 2003 at 12:24:36PM -0400, Christopher Faylor wrote:
> >> On Wed, Jun 04, 2003 at 05:50:16PM +0200, Corinna Vinschen wrote:
> >> >I have a patch which works, but which perhaps slows down qsort slightly:
> >>
> >> There seems to be a newer version of qsort available from FreeBSD. Does it
> >> work any better than the newlib version?
> >
> >No, it's the same code as usual, just intermixed with the additional
> >code necessary to implement qsort_r. Too bad.
>
> Any netbsd activity there, maybe?
Nope, I've already checked all {Net,Open,Free}BSD source trees. Even
Mac OS X has the same qsort implementation.
My patch helps, though...
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com