[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18360: Modularize recent qsort_r additions
From: |
Eli Zaretskii |
Subject: |
bug#18360: Modularize recent qsort_r additions |
Date: |
Sat, 30 Aug 2014 19:43:41 +0300 |
> Date: Sat, 30 Aug 2014 09:39:32 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> CC: 18360@debbugs.gnu.org
>
> Eli Zaretskii wrote:
> > That is a different issue, and should not get in our way here. For
> > the purposes of this bug, can we agree that qsort_r is not needed, and
> > the changes that use it should be reverted to use qsort instead?
>
> Yes and no. The previous version did not use qsort, so reverting the
> changes that use qsort_r will the drop the use of qsort (and qsort_r)
> entirely.
>
> One could further *modify* the changes to stop using qsort_r, and to use
> qsort only. But what would be the point? qsort (and qsort_r) are
> mistakes here; we cannot use them. Dropping the use of qsort_r would be
> like wiping the lipstick off a pig.
Then let's use a different sort routine, not qsort.