From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18360: Modularize recent qsort_r additions Date: Sat, 30 Aug 2014 19:43:41 +0300 Message-ID: <83lhq6gc76.fsf@gnu.org> References: <5400E959.3000805@cs.ucla.edu> <831tryigev.fsf@gnu.org> <5401D54B.40601@cs.ucla.edu> <83ppfigj2a.fsf@gnu.org> <5401FE44.4050800@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1409417064 15322 80.91.229.3 (30 Aug 2014 16:44:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2014 16:44:24 +0000 (UTC) Cc: 18360@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 30 18:44:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XNll9-0007m5-Uh for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2014 18:44:16 +0200 Original-Received: from localhost ([::1]:47157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNll9-0000Fq-K1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Aug 2014 12:44:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNll1-00006J-IG for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 12:44:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNlkw-0003Ao-Cb for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 12:44:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNlkw-0003Ak-9E for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 12:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XNlkv-0007JJ-VH for bug-gnu-emacs@gnu.org; Sat, 30 Aug 2014 12:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Aug 2014 16:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18360-submit@debbugs.gnu.org id=B18360.140941702728072 (code B ref 18360); Sat, 30 Aug 2014 16:44:01 +0000 Original-Received: (at 18360) by debbugs.gnu.org; 30 Aug 2014 16:43:47 +0000 Original-Received: from localhost ([127.0.0.1]:54566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNlkg-0007Ii-RO for submit@debbugs.gnu.org; Sat, 30 Aug 2014 12:43:47 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:58965) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XNlkf-0007IV-6S for 18360@debbugs.gnu.org; Sat, 30 Aug 2014 12:43:46 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NB400G00OBMT700@mtaout25.012.net.il> for 18360@debbugs.gnu.org; Sat, 30 Aug 2014 19:38:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NB400EIIOVUAZ40@mtaout25.012.net.il>; Sat, 30 Aug 2014 19:38:18 +0300 (IDT) In-reply-to: <5401FE44.4050800@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92869 Archived-At: > Date: Sat, 30 Aug 2014 09:39:32 -0700 > From: Paul Eggert > 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.