From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29906 invoked from network); 9 Aug 2021 17:28:16 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 9 Aug 2021 17:28:16 -0000 Received: (qmail 1716 invoked by uid 550); 9 Aug 2021 17:28:14 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 1669 invoked from network); 9 Aug 2021 17:28:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628530079; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7qQCIDwigBjQ39PvfhnA2pzt4SsinmNGseXpoVL/UD4=; b=PX4mErXQA6Zlg3byE1GB986k5ohEiFzs3BDVLfKqdn8PxThpJ3QnWcw0rmE6Biaj7MviHT uQL15lUw96mzmYzRz7aajrVCG2g/WL3EXRy11ZxLqALuRthSMhagmZ1Mk9RxwbFLtipOAW Yy0ZPPt8ENj5Xedub9XJa9AWbxCqSW0= X-MC-Unique: m2CVrGW2OaGyaxGxN1EMvA-1 From: Florian Weimer To: Jon Chesterfield Cc: musl@lists.openwall.com, Olivier Galibert References: <20210808112612.44230-1-galibert@pobox.com> Date: Mon, 09 Aug 2021 19:27:54 +0200 In-Reply-To: (Jon Chesterfield's message of "Sun, 8 Aug 2021 13:42:27 +0100") Message-ID: <87bl66plyd.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=fweimer@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Subject: Re: [musl] [PATCH] stdlib: implement qsort_r * Jon Chesterfield: > On Sun, Aug 8, 2021 at 12:29 PM Olivier Galibert wrote: > > The extension qsort_r allows calling qsort on a list of indices > without having a global variable to hold the data to sort. > > qsort_r is a strong improvement on qsort. I think it's available outside of > glibc. Right. Solaris has it, too. And apparently FreeBSD adjusted their interface: Thanks, Florian