delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/31/03:31:56

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFE07385ED4A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1598859070;
bh=LWs3aK2Nu984Fn8W32B37AxN2w9Pgx5ZVETf/p+QI5I=;
h=Date:From:To:Subject:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Reply-To:Cc:From;
b=vj438nZYkAnAuNLl6jFl/ZIC+qJpQmllIQSsNCZr+bG1uJ3Ov8VH07FcFfVUQBPpI
3CTvPWNZ06WnygUofOtQbolgOKnHFhhWUiTbOm3ec5HgWge4D4Re/B1Zh4qBPJITem
yoPCZhj08LQ9EgTfDqDFkTyKHAPt84fa1IQaE3Mc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EC317385ED4A
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
spf=fail smtp.mailfrom=corinna-cygwin AT cygwin DOT com
Date: Mon, 31 Aug 2020 09:31:01 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Kurt-Karen Carlson-Lougheed <denalisun907 AT gmail DOT com>
Subject: Re: cygwin qsort erratic
Message-ID: <20200831073101.GS3272@calimero.vinschen.de>
Mail-Followup-To: Kurt-Karen Carlson-Lougheed <denalisun907 AT gmail DOT com>,
cygwin AT cygwin DOT com
References: <CAHybJinLYpcviSFiJ=V-EZqoatEzjFfr9DOUzxzmofUmtwMS+w AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAHybJinLYpcviSFiJ=V-EZqoatEzjFfr9DOUzxzmofUmtwMS+w@mail.gmail.com>
X-Provags-ID: V03:K1:IfXlJVnxHS5UAgci2T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UFZu
Z1uM5t9mjVzCFeMcVR+XnFO2E7wPo0clvn8Px+kFHN6onVKmFZ7ONOkFUOj+kcSvEFPV/H32i
NpTiRVn83HK8GqLMdsKw==
X-Spam-Status: No, score=-100.3 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Cc: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Aug 30 14:27, Kurt-Karen Carlson-Lougheed via Cygwin wrote:
> In a small percentage of qsort requests, the results are erratic. Running
> the same code under Linux (RHEL7) does NOT have this problem. I updated my
> cygwin to current and the problem persists. I copied the latest netbsd.org
> qsort.c and compiled into my code, the problem is resolved with that
> version of qsort.
> 
> In researching this issue, there was a post to this list 2015-01-11
> reporting a
> 'damaged' qsort. This may still be the same issue. The netbsd version I am
> now using is dated 2017-05-19.
> 
> My code experiencing this is SourceForge uac19, I'll be posting the
> corrected version (v3.2) with the netbsd qsort tomorrow after completing
> validation tests. I would ultimately like to see cygwin's qsort fixed.

qsort is implemented in newlib, so patches should go to the newlib
AT sourceware DOT org mailing list (in `git format-patch' layout).


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019